summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarijn Schouten <hkbst@gentoo.org>2009-02-03 16:34:28 +0000
committerMarijn Schouten <hkbst@gentoo.org>2009-02-03 16:34:28 +0000
commit15ace19fbe02e80c0eaa509c3a1987c380c82925 (patch)
tree3dda6cb3a0742c63471857735625340ad4c191b3 /dev-scheme
parent~mips keyworded. (diff)
downloadhistorical-15ace19fbe02e80c0eaa509c3a1987c380c82925.tar.gz
historical-15ace19fbe02e80c0eaa509c3a1987c380c82925.tar.bz2
historical-15ace19fbe02e80c0eaa509c3a1987c380c82925.zip
fix bug 247182 (again)
Package-Manager: portage-2.1.6.7/cvs/Linux x86_64
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/scm/ChangeLog7
-rw-r--r--dev-scheme/scm/Manifest3
-rw-r--r--dev-scheme/scm/scm-5.5.5-r1.ebuild60
3 files changed, 68 insertions, 2 deletions
diff --git a/dev-scheme/scm/ChangeLog b/dev-scheme/scm/ChangeLog
index c2460d8a9d8c..0a97a216bf45 100644
--- a/dev-scheme/scm/ChangeLog
+++ b/dev-scheme/scm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-scheme/scm
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/scm/ChangeLog,v 1.8 2009/02/02 22:19:35 hkbst Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/scm/ChangeLog,v 1.9 2009/02/03 16:34:28 hkbst Exp $
+
+*scm-5.5.5-r1 (03 Feb 2009)
+
+ 03 Feb 2009; Marijn Schouten <hkBst@gentoo.org> +scm-5.5.5-r1.ebuild:
+ fix bug 247182 (again)
*scm-5.5.5 (02 Feb 2009)
diff --git a/dev-scheme/scm/Manifest b/dev-scheme/scm/Manifest
index 5a065ac4e172..7f5f6784b3fc 100644
--- a/dev-scheme/scm/Manifest
+++ b/dev-scheme/scm/Manifest
@@ -3,6 +3,7 @@ DIST scm5e3.zip 901866 RMD160 91f97bf4efd6bf734fe3e789762a90f20ad7b9b2 SHA1 3d7a
DIST scm5e4.zip 910672 RMD160 1e33f9fa55ec7ffc9e178b66ea74fb8e11846178 SHA1 9c2f5b9619d828276fad21b0a33fd2dfebc62c26 SHA256 cf49da2027192b31a9dbb4572ba32449c10baa0777c37baac14191bed34422e8
EBUILD scm-5.5.3.ebuild 1334 RMD160 9921e6c9706f97c95f107fecab3d63bc8716a998 SHA1 3cd8abae0a993e87317eff6c1b24de597a3c01cc SHA256 3526d02a4d17d272eefe1713b54e5f013cfda8e28c169b4e3242b2d1e6cf9aed
EBUILD scm-5.5.4.ebuild 1661 RMD160 5b0edb040f7c93692e8e8b4cfd989b6198f7c1c6 SHA1 2338403dca4a1755bf57691f6ba1ae9a613eb74a SHA256 999dd41536b70352aece370ae3ccfce74451b3e89878ecb44b3509387df259f0
+EBUILD scm-5.5.5-r1.ebuild 1573 RMD160 152e2fc9cf81604feb90a9b161aae2691343eebb SHA1 2137316e233d617624ce34015983ece6362b89bb SHA256 b6453842a34d3eb839139149a01a063304152940d2cf24767d70caa35d125b21
EBUILD scm-5.5.5.ebuild 1473 RMD160 4fbf8969e48a4208075264643234b631ca7286c1 SHA1 8e9f4d836b0cc903f1e09fc0bdb9fff6ef09ad23 SHA256 9692483533d62f5071a4ff9affafddd7f55448f5007e2d2a9fad79b09f248b53
-MISC ChangeLog 1143 RMD160 3e61be813bf4c85bd77608a006c11c17e074ae17 SHA1 2d47000433336b92da7a22036c70a621f1b993da SHA256 a8013455765c02aec3426351ff038319334254828fc5e0d8d0a76b2a1e2b3bae
+MISC ChangeLog 1270 RMD160 11762072ec4487b56e6e0b0764b89823cfbda606 SHA1 786132f4f810b2785bad8b1a43bd03eab483ee6f SHA256 a073dfce7bdf74c48a6c967c31d56d531afb2dd13a368f53cdef9534376da7fd
MISC metadata.xml 434 RMD160 951fec63f3325b7f92693c88948382715576d8c9 SHA1 cf322011d73ec3e648fe45f7bf357c39eaa29d52 SHA256 b810a305f07a75ef4299bde4aa2bd136e98bcad906b4000d46235a127dbf7844
diff --git a/dev-scheme/scm/scm-5.5.5-r1.ebuild b/dev-scheme/scm/scm-5.5.5-r1.ebuild
new file mode 100644
index 000000000000..1efdd842b263
--- /dev/null
+++ b/dev-scheme/scm/scm-5.5.5-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/scm/scm-5.5.5-r1.ebuild,v 1.1 2009/02/03 16:34:28 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="Scheme implementation from author of slib"
+SRC_URI="http://swiss.csail.mit.edu/ftpdir/scm/${MY_P}.zip"
+HOMEPAGE="http://swiss.csail.mit.edu/~jaffer/SCM"
+
+SLOT="0"
+LICENSE="LGPL-3"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+#unzip for unpacking
+RDEPEND=""
+DEPEND="app-arch/unzip
+ >=dev-scheme/slib-3.1.5"
+
+src_unpack() {
+ unpack ${A}; cd "${S}"
+
+ cp Makefile Makefile.old
+
+ sed "s#local/##" -i Makefile
+ sed 's:man1dir = $(prefix)man/man1/:man1dir = $(prefix)share/man/man1/:' -i Makefile # bug 247182
+
+ diff -u Makefile.old Makefile
+}
+
+src_compile() {
+ einfo "Making scmlit"
+ #parallel make fails sometimes
+ emake -j1 scmlit || die
+ einfo "Creating script to build scm"
+ echo "srcdir=/usr/share/scm/" > srcdir.mk
+ ./build --compiler-options="${CFLAGS}" --linker-options="${LDFLAGS}" -F macro -F inexact &> _compile.sh || die
+ einfo "Building scm"
+ sh _compile.sh || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+}
+
+pkg_postinst() {
+ [ "${ROOT}" == "/" ] && pkg_config
+}
+
+pkg_config() {
+ einfo "Regenerating catalog..."
+ scm -e "(require 'new-catalog)"
+}