Lines 2-8
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/quantlib/quantlib-0.3.14.ebuild,v 1.1 2006/11/07 22:34:50 dev-zero Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/quantlib/quantlib-0.3.14.ebuild,v 1.1 2006/11/07 22:34:50 dev-zero Exp $ |
4 |
|
4 |
|
5 |
inherit autotools eutils |
5 |
inherit autotools eutils elisp-common |
6 |
|
6 |
|
7 |
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" |
7 |
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" |
8 |
|
8 |
|
Lines 20-25
Link Here
|
20 |
doc? ( app-doc/doxygen ) |
20 |
doc? ( app-doc/doxygen ) |
21 |
${RDEPEND}" |
21 |
${RDEPEND}" |
22 |
|
22 |
|
|
|
23 |
SITEFILE=50${PN}-gentoo.el |
24 |
|
23 |
S=${WORKDIR}/${MY_P} |
25 |
S=${WORKDIR}/${MY_P} |
24 |
|
26 |
|
25 |
src_unpack() { |
27 |
src_unpack() { |
Lines 37-43
Link Here
|
37 |
use emacs || |
39 |
use emacs || |
38 |
sed -i -e "s/^EMACS=.*/EMACS=no/" configure || die "sed failed" |
40 |
sed -i -e "s/^EMACS=.*/EMACS=no/" configure || die "sed failed" |
39 |
|
41 |
|
40 |
econf || die "econf failed" |
42 |
econf --with-lispdir="${SITELISP}/${PN}" || die "econf failed" |
41 |
emake || die "emake failed" |
43 |
emake || die "emake failed" |
42 |
|
44 |
|
43 |
if use doc ; then |
45 |
if use doc ; then |
Lines 63-66
Link Here
|
63 |
doins ${example%%/}/*.{cpp,h,txt} |
65 |
doins ${example%%/}/*.{cpp,h,txt} |
64 |
done |
66 |
done |
65 |
fi |
67 |
fi |
|
|
68 |
|
69 |
if use emacs; then |
70 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
71 |
fi |
72 |
} |
73 |
|
74 |
pkg_postinst() { |
75 |
use emacs && elisp-site-regen |
76 |
} |
77 |
|
78 |
pkg_postrm() { |
79 |
use emacs && elisp-site-regen |
66 |
} |
80 |
} |