summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarijn Schouten <hkBst@gentoo.org>2011-09-06 08:58:39 +0200
committerChema Alonso Josa <nimiux@gentoo.org>2018-03-09 22:33:31 +0100
commit282c1cecd065b4305c73a8168cb394fa8bdd4db2 (patch)
treec6da12d28ca851e1cdea333d7f7f5ef2721ef052 /app-emacs
parentdev-scheme/guile: Add SLOT support through app-admin/eselect-guile (diff)
downloadlisp-282c1cecd065b4305c73a8168cb394fa8bdd4db2.tar.gz
lisp-282c1cecd065b4305c73a8168cb394fa8bdd4db2.tar.bz2
lisp-282c1cecd065b4305c73a8168cb394fa8bdd4db2.zip
Geiser: add live ebuild
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/geiser/Manifest2
-rw-r--r--app-emacs/geiser/files/50geiser-gentoo.el3
-rw-r--r--app-emacs/geiser/geiser-999.ebuild55
3 files changed, 60 insertions, 0 deletions
diff --git a/app-emacs/geiser/Manifest b/app-emacs/geiser/Manifest
new file mode 100644
index 00000000..16ef6736
--- /dev/null
+++ b/app-emacs/geiser/Manifest
@@ -0,0 +1,2 @@
+AUX 50geiser-gentoo.el 65 RMD160 29830b6ca9eaa3bfb743bdce507b24efadb27862 SHA1 f333fe7712e8a21304d6bfa132e995b3697987dd SHA256 3b886f1315e92aec019d2ffd18bff21875a8b2d36920f0a61406c1449c0434b1
+EBUILD geiser-999.ebuild 896 RMD160 684297b728a6820250a58cb8d04fc82bfadb96fa SHA1 c1d98f3014b917ea2c759d8e209bba195e3103e0 SHA256 a22718f94ef12a1e990b94f08c176a420cdbe447a1f302c55c1db2977de0f16f
diff --git a/app-emacs/geiser/files/50geiser-gentoo.el b/app-emacs/geiser/files/50geiser-gentoo.el
new file mode 100644
index 00000000..52e00cfb
--- /dev/null
+++ b/app-emacs/geiser/files/50geiser-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+
+(require 'geiser-install)
diff --git a/app-emacs/geiser/geiser-999.ebuild b/app-emacs/geiser/geiser-999.ebuild
new file mode 100644
index 00000000..1d49ab79
--- /dev/null
+++ b/app-emacs/geiser/geiser-999.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+# for live ebuilds uncomment inherit git, comment SRC_URI and empty KEYWORDS
+
+NEED_EMACS=23
+
+inherit elisp
+inherit git
+
+DESCRIPTION="Emacs modes for Scheme interaction"
+HOMEPAGE="http://www.nongnu.org/geiser/"
+#SRC_URI="mirror://nongnu/${PN}/${PV}/${P}.tar.gz"
+EGIT_REPO_URI="git://git.sv.gnu.org/geiser.git"
+
+LICENSE="BSD"
+IUSE=""
+
+KEYWORDS=""
+SLOT="0"
+
+DEPEND=""
+RDEPEND=""
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ ./autogen.sh || die
+}
+
+src_configure() {
+ econf --with-lispdir="${SITELISP}/${PN}"
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+ dodoc AUTHORS NEWS README THANKS
+}
+
+pkg_postinst() {
+ elisp-site-regen
+}
+
+pkg_postrm() {
+ elisp-site-regen
+}