summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-scheme/slib/slib-2.4.2.ebuild')
-rw-r--r--dev-scheme/slib/slib-2.4.2.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-scheme/slib/slib-2.4.2.ebuild b/dev-scheme/slib/slib-2.4.2.ebuild
new file mode 100644
index 000000000000..9374e4a88d1d
--- /dev/null
+++ b/dev-scheme/slib/slib-2.4.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/slib/slib-2.4.2.ebuild,v 1.1 2007/01/10 17:05:25 hkbst Exp $
+
+MY_P=${PN}2d2
+S=${WORKDIR}/${PN}
+DESCRIPTION="library providing functions for Scheme implementations"
+SRC_URI="http://swissnet.ai.mit.edu/ftpdir/scm/OLD/${MY_P}.zip"
+HOMEPAGE="http://swissnet.ai.mit.edu/~jaffer/SLIB.html"
+
+SLOT="0"
+LICENSE="public-domain BSD"
+KEYWORDS="x86 sparc"
+IUSE=""
+
+RDEPEND=">=dev-util/guile-1.4"
+DEPEND="${RDEPEND}
+ >=app-arch/unzip-5.21
+ >=dev-util/guile-1.4"
+
+RESTRICT="test"
+
+src_install() {
+ insinto /usr/share/guile/site/slib
+ doins *.scm
+ dodoc ANNOUNCE ChangeLog FAQ README
+ doinfo slib.info
+}
+
+pkg_postinst() {
+ if [ "${ROOT}" == "/" ] ; then
+ einfo "Installing..."
+ guile -c "(use-modules (ice-9 slib)) (require 'new-catalog)" "/"
+ fi
+}