Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 234920 | Differences between
and this patch

Collapse All | Expand All

(-)librep-0.17_p20070101.ebuild (-2 / +22 lines)
Lines 7-13 Link Here
7
WANT_AUTOCONF="latest"
7
WANT_AUTOCONF="latest"
8
WANT_AUTOMAKE="latest"
8
WANT_AUTOMAKE="latest"
9
9
10
inherit autotools eutils toolchain-funcs multilib
10
inherit autotools eutils toolchain-funcs multilib elisp-common
11
11
12
DESCRIPTION="Shared library implementing a Lisp dialect"
12
DESCRIPTION="Shared library implementing a Lisp dialect"
13
HOMEPAGE="http://librep.sourceforge.net/"
13
HOMEPAGE="http://librep.sourceforge.net/"
Lines 17-25 Link Here
17
LICENSE="GPL-2"
17
LICENSE="GPL-2"
18
SLOT="0"
18
SLOT="0"
19
KEYWORDS="alpha ~amd64 ia64 ppc ~ppc64 sparc x86"
19
KEYWORDS="alpha ~amd64 ia64 ppc ~ppc64 sparc x86"
20
IUSE="readline"
20
IUSE="emacs readline"
21
21
22
RDEPEND=">=sys-libs/gdbm-1.8.0
22
RDEPEND=">=sys-libs/gdbm-1.8.0
23
	emacs? ( virtual/emacs )
23
	readline? ( sys-libs/readline )"
24
	readline? ( sys-libs/readline )"
24
DEPEND="${RDEPEND}
25
DEPEND="${RDEPEND}
25
	sys-apps/texinfo"
26
	sys-apps/texinfo"
Lines 32-37 Link Here
32
	epatch "${DISTDIR}"/${P}.patch.bz2
33
	epatch "${DISTDIR}"/${P}.patch.bz2
33
	epatch "${FILESDIR}"/${P}-libtool.patch
34
	epatch "${FILESDIR}"/${P}-libtool.patch
34
	epatch "${FILESDIR}"/rep_file_fdopen.patch
35
	epatch "${FILESDIR}"/rep_file_fdopen.patch
36
	epatch "${FILESDIR}"/${P}-disable-elisp.patch
35
	eautoreconf || die "eautoreconf failed"
37
	eautoreconf || die "eautoreconf failed"
36
}
38
}
37
39
Lines 43-48 Link Here
43
		$(use_with readline) || die "configure failed"
45
		$(use_with readline) || die "configure failed"
44
46
45
	LC_ALL=C emake || die "make failed"
47
	LC_ALL=C emake || die "make failed"
48
49
	if use emacs; then
50
		elisp-compile rep-debugger.el || die "elisp-compile failed"
51
	fi
46
}
52
}
47
53
48
src_install() {
54
src_install() {
Lines 50-53 Link Here
50
	dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO TREE
56
	dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO TREE
51
	docinto doc
57
	docinto doc
52
	dodoc doc/*
58
	dodoc doc/*
59
60
	if use emacs; then
61
		elisp-install ${PN} rep-debugger.{el,elc} || die "elisp-install failed"
62
		elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
63
			|| die "elisp-site-file-install failed"
64
	fi
65
}
66
67
pkg_postinst() {
68
	use emacs && elisp-site-regen
69
}
70
71
pkg_postrm() {
72
	use emacs && elisp-site-regen
53
}
73
}

Return to bug 234920