summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarijn Schouten <hkbst@gentoo.org>2007-01-24 17:06:06 +0000
committerMarijn Schouten <hkbst@gentoo.org>2007-01-24 17:06:06 +0000
commit5e35b875092a04503ada91951a8a09ea93d85689 (patch)
tree83a2069d582e83f9cdf3895f314f8523a01ef1d1 /dev-scheme/slib
parentReplacing einfo with elog (diff)
downloadgentoo-2-5e35b875092a04503ada91951a8a09ea93d85689.tar.gz
gentoo-2-5e35b875092a04503ada91951a8a09ea93d85689.tar.bz2
gentoo-2-5e35b875092a04503ada91951a8a09ea93d85689.zip
backport 3.1.4-r1 to 3.1.1-r1
(Portage version: 2.1.2-r2)
Diffstat (limited to 'dev-scheme/slib')
-rw-r--r--dev-scheme/slib/ChangeLog7
-rw-r--r--dev-scheme/slib/files/digest-slib-3.1.1-r13
-rw-r--r--dev-scheme/slib/slib-3.1.1-r1.ebuild46
3 files changed, 55 insertions, 1 deletions
diff --git a/dev-scheme/slib/ChangeLog b/dev-scheme/slib/ChangeLog
index 5a3ea4f37282..bda90e0fd923 100644
--- a/dev-scheme/slib/ChangeLog
+++ b/dev-scheme/slib/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/slib
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/slib/ChangeLog,v 1.14 2007/01/24 16:59:50 hkbst Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/slib/ChangeLog,v 1.15 2007/01/24 17:06:06 hkbst Exp $
+
+*slib-3.1.1-r1 (24 Jan 2007)
+
+ 24 Jan 2007; Marijn Schouten <hkBst@gentoo.org> +slib-3.1.1-r1.ebuild:
+ backport 3.1.4-r1 to 3.1.1-r1
*slib-3.1.4-r1 (24 Jan 2007)
diff --git a/dev-scheme/slib/files/digest-slib-3.1.1-r1 b/dev-scheme/slib/files/digest-slib-3.1.1-r1
new file mode 100644
index 000000000000..cb622703a973
--- /dev/null
+++ b/dev-scheme/slib/files/digest-slib-3.1.1-r1
@@ -0,0 +1,3 @@
+MD5 a8805700c4c49d48a14fc8a0c2b996f4 slib3a1.zip 861953
+RMD160 9058c89d0da0231bdf06be084e316fb73f456f28 slib3a1.zip 861953
+SHA256 8a41bb6c726a2ff79579289ce20dc085171100050466f8ec7aa4ecd3348f3ae0 slib3a1.zip 861953
diff --git a/dev-scheme/slib/slib-3.1.1-r1.ebuild b/dev-scheme/slib/slib-3.1.1-r1.ebuild
new file mode 100644
index 000000000000..f9553647947a
--- /dev/null
+++ b/dev-scheme/slib/slib-3.1.1-r1.ebuild
@@ -0,0 +1,46 @@
+# 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-3.1.1-r1.ebuild,v 1.1 2007/01/24 17:06:06 hkbst Exp $
+
+inherit versionator eutils
+
+#version magic thanks to masterdriverz and UberLord using bash array instead of tr
+trarr="0abcdefghi"
+MY_PV="$(get_version_component_range 1)${trarr:$(get_version_component_range 2):1}$(get_version_component_range 3)"
+
+MY_P=${PN}${MY_PV}
+S=${WORKDIR}/${PN}
+DESCRIPTION="library providing functions for Scheme implementations"
+SRC_URI="http://swiss.csail.mit.edu/ftpdir/scm/OLD/${MY_P}.zip"
+
+HOMEPAGE="http://swiss.csail.mit.edu/~jaffer/SLIB"
+
+SLOT="0"
+LICENSE="public-domain BSD"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
+IUSE=""
+
+#unzip for unpacking
+#depend on guile for now, until slib actually works with another scheme implementation in portage
+RDEPEND="=dev-scheme/guile-1.6*"
+DEPEND="app-arch/unzip
+ ${RDEPEND}"
+
+# slib tests rely on scm being installed. It isn't even in portage :(
+RESTRICT="test"
+
+# maybe also do "make infoz"
+
+src_install() {
+ insinto /usr/share/slib/ #don't install directly into guile dir
+ doins *.scm
+ doins *.init
+ dodoc ANNOUNCE ChangeLog FAQ README
+ doinfo slib.info
+ dosym /usr/share/slib/ /usr/share/guile/slib # link from guile dir
+}
+
+pkg_postinst() {
+ einfo "Installing slib for guile..."
+ ${ROOT}/usr/bin/guile -c "(use-modules (ice-9 slib)) (require 'new-catalog)"
+}