1 |
commit: c459c3bb946a0d8d80b1b77c763a7e8d0a3deb81 |
2 |
Author: Marijn Schouten <hkBst <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 6 06:58:39 2011 +0000 |
4 |
Commit: Marijn Schouten <hkbst <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 6 06:58:39 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/lisp.git;a=commit;h=c459c3bb |
7 |
|
8 |
Geiser: add live ebuild |
9 |
|
10 |
--- |
11 |
app-emacs/geiser/files/50geiser-gentoo.el | 3 ++ |
12 |
app-emacs/geiser/geiser-999.ebuild | 55 +++++++++++++++++++++++++++++ |
13 |
2 files changed, 58 insertions(+), 0 deletions(-) |
14 |
|
15 |
diff --git a/app-emacs/geiser/files/50geiser-gentoo.el b/app-emacs/geiser/files/50geiser-gentoo.el |
16 |
new file mode 100644 |
17 |
index 0000000..52e00cf |
18 |
--- /dev/null |
19 |
+++ b/app-emacs/geiser/files/50geiser-gentoo.el |
20 |
@@ -0,0 +1,3 @@ |
21 |
+(add-to-list 'load-path "@SITELISP@") |
22 |
+ |
23 |
+(require 'geiser-install) |
24 |
|
25 |
diff --git a/app-emacs/geiser/geiser-999.ebuild b/app-emacs/geiser/geiser-999.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..1d49ab7 |
28 |
--- /dev/null |
29 |
+++ b/app-emacs/geiser/geiser-999.ebuild |
30 |
@@ -0,0 +1,55 @@ |
31 |
+# Copyright 1999-2010 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Header: $ |
34 |
+ |
35 |
+EAPI="4" |
36 |
+ |
37 |
+# for live ebuilds uncomment inherit git, comment SRC_URI and empty KEYWORDS |
38 |
+ |
39 |
+NEED_EMACS=23 |
40 |
+ |
41 |
+inherit elisp |
42 |
+inherit git |
43 |
+ |
44 |
+DESCRIPTION="Emacs modes for Scheme interaction" |
45 |
+HOMEPAGE="http://www.nongnu.org/geiser/" |
46 |
+#SRC_URI="mirror://nongnu/${PN}/${PV}/${P}.tar.gz" |
47 |
+EGIT_REPO_URI="git://git.sv.gnu.org/geiser.git" |
48 |
+ |
49 |
+LICENSE="BSD" |
50 |
+IUSE="" |
51 |
+ |
52 |
+KEYWORDS="" |
53 |
+SLOT="0" |
54 |
+ |
55 |
+DEPEND="" |
56 |
+RDEPEND="" |
57 |
+ |
58 |
+SITEFILE="50${PN}-gentoo.el" |
59 |
+ |
60 |
+src_prepare() { |
61 |
+ ./autogen.sh || die |
62 |
+} |
63 |
+ |
64 |
+src_configure() { |
65 |
+ econf --with-lispdir="${SITELISP}/${PN}" |
66 |
+} |
67 |
+ |
68 |
+src_compile() { |
69 |
+ emake || die |
70 |
+} |
71 |
+ |
72 |
+src_install() { |
73 |
+ emake DESTDIR="${D}" install || die |
74 |
+ |
75 |
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die |
76 |
+ dodoc AUTHORS NEWS README THANKS |
77 |
+} |
78 |
+ |
79 |
+pkg_postinst() { |
80 |
+ elisp-site-regen |
81 |
+} |
82 |
+ |
83 |
+pkg_postrm() { |
84 |
+ elisp-site-regen |
85 |
+} |