summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarijn Schouten <hkbst@gentoo.org>2007-01-12 15:08:10 +0000
committerMarijn Schouten <hkbst@gentoo.org>2007-01-12 15:08:10 +0000
commitf87f079d4b07689f31f7c5f28b40b4024a42a133 (patch)
tree92d32da8ff8eee899dca94b84d461f6ebd066b7f /dev-scheme
parentStable on sparc --- Bug #125343 --- builds and works fine. (diff)
downloadgentoo-2-f87f079d4b07689f31f7c5f28b40b4024a42a133.tar.gz
gentoo-2-f87f079d4b07689f31f7c5f28b40b4024a42a133.tar.bz2
gentoo-2-f87f079d4b07689f31f7c5f28b40b4024a42a133.zip
Added slib-3.1.4 (3a4) ebuild
(Portage version: 2.1.2_rc4-r8)
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/slib/ChangeLog7
-rw-r--r--dev-scheme/slib/files/digest-slib-3.1.43
-rw-r--r--dev-scheme/slib/metadata.xml11
-rw-r--r--dev-scheme/slib/slib-3.1.4.ebuild47
4 files changed, 65 insertions, 3 deletions
diff --git a/dev-scheme/slib/ChangeLog b/dev-scheme/slib/ChangeLog
index 335b334be719..6083bd7e3068 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.2 2007/01/10 19:42:27 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/slib/ChangeLog,v 1.3 2007/01/12 15:08:10 hkbst Exp $
+
+*slib-3.1.4 (12 Jan 2007)
+
+ 12 Jan 2007; Marijn Schouten hkBst@gentoo.org +slib-3.1.4.ebuild:
+ Added 3.1.4 ebuild
10 Jan 2007; Piotr Jaroszyński <peper@gentoo.org> slib-2.4.2.ebuild,
slib-2.4.3.ebuild, slib-2.4.6.ebuild, slib-3.1.1.ebuild:
diff --git a/dev-scheme/slib/files/digest-slib-3.1.4 b/dev-scheme/slib/files/digest-slib-3.1.4
new file mode 100644
index 000000000000..aba33066f8e0
--- /dev/null
+++ b/dev-scheme/slib/files/digest-slib-3.1.4
@@ -0,0 +1,3 @@
+MD5 b0df4089264fd248c9c4f6d2e074b9f6 slib3a4.zip 994885
+RMD160 2cd478889d462994d62363379e17e74a28b4ef8c slib3a4.zip 994885
+SHA256 d66d642c060d08f16aaca19fd2fd3040de22404eace80a36802cfe39cb5fb9b2 slib3a4.zip 994885
diff --git a/dev-scheme/slib/metadata.xml b/dev-scheme/slib/metadata.xml
index 6dc936ce2d1c..b1e4625f4452 100644
--- a/dev-scheme/slib/metadata.xml
+++ b/dev-scheme/slib/metadata.xml
@@ -1,5 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>scheme</herd>
-</pkgmetadata>
+ <herd>scheme</herd>
+ <maintainer>
+ <email>hkBst@gentoo.org</email>
+ </maintainer>
+ <longdescription lang="en">
+SLIB is a portable scheme library meant to provide compatibiliy and
+utility functions for all standard scheme implementations.
+ </longdescription>
+</pkgmetadata> \ No newline at end of file
diff --git a/dev-scheme/slib/slib-3.1.4.ebuild b/dev-scheme/slib/slib-3.1.4.ebuild
new file mode 100644
index 000000000000..d5b940633478
--- /dev/null
+++ b/dev-scheme/slib/slib-3.1.4.ebuild
@@ -0,0 +1,47 @@
+# 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.4.ebuild,v 1.1 2007/01/12 15:08:10 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/${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
+DEPEND="app-arch/unzip
+ =dev-scheme/guile-1.6*"
+
+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/lib/slib/ #don't install directly into guile dir
+ doins *.scm
+ doins *.init
+ dodoc ANNOUNCE ChangeLog FAQ README
+ doinfo slib.info
+ dosym /usr/lib/slib/ /usr/share/guile/slib # link from guile dir
+}
+
+pkg_postinst() {
+ einfo "Installing slib for guile..."
+ guile -c "(use-modules (ice-9 slib)) (require 'new-catalog)"
+} \ No newline at end of file