Adding new version. Compiling with m32 for amd64
authorLuis Francisco Araujo <araujo@gentoo.org>
Sat, 20 Jan 2007 06:28:20 +0000 (06:28 +0000)
committerLuis Francisco Araujo <araujo@gentoo.org>
Sat, 20 Jan 2007 06:28:20 +0000 (06:28 +0000)
Package-Manager: portage-2.1.2-r1

dev-scheme/scheme48/ChangeLog
dev-scheme/scheme48/Manifest
dev-scheme/scheme48/files/digest-scheme48-1.5 [new file with mode: 0644]
dev-scheme/scheme48/files/scheme48-1.5-as-needed.patch [new file with mode: 0644]
dev-scheme/scheme48/scheme48-1.5.ebuild [new file with mode: 0644]

index b331c2cb147ae69f419bd112327c94b2899f22a6..1fdcf9a63b201d5c981842978398f611df8d2399 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-scheme/scheme48
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/scheme48/ChangeLog,v 1.4 2007/01/06 12:35:33 masterdriverz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/scheme48/ChangeLog,v 1.5 2007/01/20 06:28:20 araujo Exp $
+
+*scheme48-1.5 (20 Jan 2007)
+
+  20 Jan 2007; Luis F. Araujo <araujo@gentoo.org>
+  +files/scheme48-1.5-as-needed.patch, +scheme48-1.5.ebuild:
+  Adding new version. Bug #160571. Thanks Dennis Schridde
 
   06 Jan 2007; Charlie Shepherd <masterdriverz@gentoo.org>
   +files/scheme48-1.3-as-needed.patch, scheme48-1.3-r1.ebuild:
index 3defada8239aad85de192e50a469bcfc4565648a..09f6ead450115faeec01ddc93af1a75a501aa697 100644 (file)
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 AUX 50scheme48-gentoo.el 198 RMD160 27ce388121bb1927b4c647d8ceffa71faf0e00e6 SHA1 7b613cdf2a8f40edf4269945ed054586221e75eb SHA256 6aaa0729ea2383855c6d3c6e254b0656ad03fdd97e5ea80de99a04e7c0585024
 MD5 75e4b8751b0c3e96501efc5218e39523 files/50scheme48-gentoo.el 198
 RMD160 27ce388121bb1927b4c647d8ceffa71faf0e00e6 files/50scheme48-gentoo.el 198
@@ -6,15 +9,24 @@ AUX scheme48-1.3-as-needed.patch 501 RMD160 cc269059dd7e6dd921b87de28366a963a338
 MD5 9e684c6e536d17bb593a58da147fc984 files/scheme48-1.3-as-needed.patch 501
 RMD160 cc269059dd7e6dd921b87de28366a963a338eb63 files/scheme48-1.3-as-needed.patch 501
 SHA256 53e4a1baff083b88b929459a20fc4fcd42ca360fb9c468cd518e47901c463a3e files/scheme48-1.3-as-needed.patch 501
+AUX scheme48-1.5-as-needed.patch 633 RMD160 b782786477889f7353cc5674cad73ff092458b0a SHA1 d484a6e6eae0993b1a9bb1720956a5f07493a034 SHA256 b74ee6fbf358d1a0fbe724158ea5355c2545b26c80ef545d153459c36254b79b
+MD5 830cb0c99672068186f29fc7e0d3fd18 files/scheme48-1.5-as-needed.patch 633
+RMD160 b782786477889f7353cc5674cad73ff092458b0a files/scheme48-1.5-as-needed.patch 633
+SHA256 b74ee6fbf358d1a0fbe724158ea5355c2545b26c80ef545d153459c36254b79b files/scheme48-1.5-as-needed.patch 633
 DIST scheme48-1.3.tgz 2322178 RMD160 25cbf7ddda946ffe114264c3cb4818817eeeb440 SHA1 be1704893b5932fc304b8a2e2279ec753a49f15b SHA256 50d2c540bced74c6015abca3978ba4f65e97d14c78eba1fa8488b3a5c064883b
+DIST scheme48-1.5.tgz 2541876 RMD160 d9bfad4425a37c02436ab69a4aac386471d074ec SHA1 9f9b503c609b8d1dca4b6edd6afe748ed0b124dd SHA256 0f064dfccf5d79e5e1a72270835c042d88506b112574c13b346a9116bef9e7ad
 EBUILD scheme48-1.3-r1.ebuild 1743 RMD160 8b7f14077fdc98c26769f97bcdd9280e7261ab7f SHA1 e417d78044cad0c8675af0eba7aedc1ad99c9d46 SHA256 0f9f187e38dc7cb0a63e77477ff95d203eadf781edb5cba47cf4709774b7a34e
 MD5 246adf31697139b464d70bfcc8641ac8 scheme48-1.3-r1.ebuild 1743
 RMD160 8b7f14077fdc98c26769f97bcdd9280e7261ab7f scheme48-1.3-r1.ebuild 1743
 SHA256 0f9f187e38dc7cb0a63e77477ff95d203eadf781edb5cba47cf4709774b7a34e scheme48-1.3-r1.ebuild 1743
-MISC ChangeLog 975 RMD160 5c35b89bd43eccf1389b50bbea39ec2720175389 SHA1 6085a0f8a99495a3077d390074f777bcc6afa952 SHA256 8540be4445c3780d61354f7616e9e2ba6afafd5bdc3eb9949d3a88128c394183
-MD5 05f971309ac42de08ebea3af0df9388e ChangeLog 975
-RMD160 5c35b89bd43eccf1389b50bbea39ec2720175389 ChangeLog 975
-SHA256 8540be4445c3780d61354f7616e9e2ba6afafd5bdc3eb9949d3a88128c394183 ChangeLog 975
+EBUILD scheme48-1.5.ebuild 1782 RMD160 b19f3a1859f5b8891cda43143f04bc581914cc47 SHA1 d0e10ad2a7162ebb6bed7e83a7eb0d9763bf751c SHA256 e824f89935a7dea54a3fca3dd2beb4fa2f9a5c8f7ea58d69edac3284e2287bc0
+MD5 6f3ab4a29291c83cedfe2eb046ac7dac scheme48-1.5.ebuild 1782
+RMD160 b19f3a1859f5b8891cda43143f04bc581914cc47 scheme48-1.5.ebuild 1782
+SHA256 e824f89935a7dea54a3fca3dd2beb4fa2f9a5c8f7ea58d69edac3284e2287bc0 scheme48-1.5.ebuild 1782
+MISC ChangeLog 1167 RMD160 11bf66c82f479f9d06cb70f07c3a06b8b02756e0 SHA1 d956a4cf1d49dd33b4686a637932cfd5c7a499a1 SHA256 938ff9959f81f93d5eaa80f8381395f97aef9295fd73983a3fc95126869b22e6
+MD5 a847523acd196261164ed41265211fab ChangeLog 1167
+RMD160 11bf66c82f479f9d06cb70f07c3a06b8b02756e0 ChangeLog 1167
+SHA256 938ff9959f81f93d5eaa80f8381395f97aef9295fd73983a3fc95126869b22e6 ChangeLog 1167
 MISC metadata.xml 532 RMD160 130ae0288c47f06e72ae2225c8fc08e32b0ce428 SHA1 857a3bb429c6d759b0aae2e644f2cc220905e81c SHA256 58724fd8ef37b1b7edfca3d69536c1302ecafb00240112a3f442ea1a017819ab
 MD5 3ced4838ea1f70eee5d0d0f0e14b18b1 metadata.xml 532
 RMD160 130ae0288c47f06e72ae2225c8fc08e32b0ce428 metadata.xml 532
@@ -22,3 +34,13 @@ SHA256 58724fd8ef37b1b7edfca3d69536c1302ecafb00240112a3f442ea1a017819ab metadata
 MD5 caded5191014bbaba8002bdd5dacd1dd files/digest-scheme48-1.3-r1 232
 RMD160 213a8d0d6effe991702de670bdb3e3f178e6fa39 files/digest-scheme48-1.3-r1 232
 SHA256 665bd9994692ba9250316622b10355c27461f090976db6ef81f05a2133936d5f files/digest-scheme48-1.3-r1 232
+MD5 bbd0688cd088fef309edc608edfd7369 files/digest-scheme48-1.5 232
+RMD160 91e36f67c83c2d64ec8dd34eb768ef3a07759ad5 files/digest-scheme48-1.5 232
+SHA256 0e2bc16a22dad4aa55a00c31ad20a764a9d1b75c57fdd84e5e11303d0827a166 files/digest-scheme48-1.5 232
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.1 (GNU/Linux)
+
+iD8DBQFFsbYLaTNpke9pJcURAu0fAJ0cl3oP6ll3wZO3MyK76wvnwlizhACgikpL
+FH0Q35bybAmWXsVwHcC7u+w=
+=tXSl
+-----END PGP SIGNATURE-----
diff --git a/dev-scheme/scheme48/files/digest-scheme48-1.5 b/dev-scheme/scheme48/files/digest-scheme48-1.5
new file mode 100644 (file)
index 0000000..bbd2bd2
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 09edf2ef1c2e40369efdf5bc74f9e85e scheme48-1.5.tgz 2541876
+RMD160 d9bfad4425a37c02436ab69a4aac386471d074ec scheme48-1.5.tgz 2541876
+SHA256 0f064dfccf5d79e5e1a72270835c042d88506b112574c13b346a9116bef9e7ad scheme48-1.5.tgz 2541876
diff --git a/dev-scheme/scheme48/files/scheme48-1.5-as-needed.patch b/dev-scheme/scheme48/files/scheme48-1.5-as-needed.patch
new file mode 100644 (file)
index 0000000..c9e9a48
--- /dev/null
@@ -0,0 +1,14 @@
+diff -urwpN scheme48-1.5/Makefile.in scheme48-1.5.chg/Makefile.in
+--- scheme48-1.5/Makefile.in   2007-01-06 14:14:10.000000000 -0400
++++ scheme48-1.5.chg/Makefile.in       2007-01-20 00:54:53.000000000 -0400
+@@ -231,8 +231,8 @@ $(VM): c/main.o $(OBJS) $(UNIX_OBJS) $(L
+               $(EXTERNAL_INITIALIZERS) &&                             \
+       $(CC) $(LDFLAGS) $(CFLAGS) -o $@ c/main.o $(OBJS) $(UNIX_OBJS)  \
+               /tmp/s48_external_$$$$.c                                \
+-              $(LIBOBJS) $(LIBS)                                      \
+-              $(EXTERNAL_OBJECTS) $(EXTERNAL_LD_FLAGS) &&             \
++              $(LIBOBJS)                                      \
++              $(EXTERNAL_OBJECTS) $(EXTERNAL_LD_FLAGS) $(LIBS) &&             \
+       rm -f /tmp/s48_external_$$$$.c
+ script-interpreter: c/script-interpreter.o
diff --git a/dev-scheme/scheme48/scheme48-1.5.ebuild b/dev-scheme/scheme48/scheme48-1.5.ebuild
new file mode 100644 (file)
index 0000000..18cf4dd
--- /dev/null
@@ -0,0 +1,66 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/scheme48/scheme48-1.5.ebuild,v 1.1 2007/01/20 06:28:20 araujo Exp $
+
+inherit elisp-common multilib eutils flag-o-matic
+
+DESCRIPTION="Scheme48 is an implementation of the Scheme Programming Language."
+HOMEPAGE="http://www.s48.org/"
+SRC_URI="http://www.s48.org/${PV}/${P}.tgz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="doc emacs"
+
+DEPEND=""
+RDEPEND=""
+SITEFILE=50scheme48-gentoo.el
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+       sed -i "s:\`pwd\`:/usr/$(get_libdir)/scheme48:" Makefile.in
+       sed -i "s:lib=\$(LIB):lib=/usr/$(get_libdir)/scheme48:" Makefile.in
+       # Set the correct values for the paths show by the man pages
+       sed -i "s:=\$(bindir)=:=/usr/bin/=:" Makefile.in
+       sed -i "s:=\$(LIB)=:=/usr/$(get_libdir)/scheme48=:" Makefile.in
+       # From Bug #127105
+       sed -i 's:`(cd $(srcdir) && echo $$PWD)`/scheme:'"/usr/$(get_libdir)/scheme48/:" Makefile.in
+       sed -i "s:'\$(LIB)':'/usr/$(get_libdir)/\$(RUNNABLE)':" Makefile.in
+       epatch "${FILESDIR}/${P}-as-needed.patch"
+}
+
+src_compile() {
+       use amd64 && append-flags "-m32"
+       econf || die "econf failed"
+       emake || die "emake failed"
+       if use emacs; then
+               elisp-compile ${S}/emacs/cmuscheme48.el
+       fi
+}
+
+src_install() {
+       make prefix=${D}/usr \
+               mandir=${D}/usr/share/man/man1 \
+               install || die "make failed"
+       if use emacs; then
+               elisp-install ${PN} emacs/cmuscheme48.el emacs/*.elc
+               elisp-site-file-install ${FILESDIR}/${SITEFILE}
+       fi
+       dodoc README INSTALL
+       if use doc; then
+               dodoc doc/manual.ps doc/manual.pdf doc/*.txt
+               dohtml -r doc/html/*
+               docinto src
+               dodoc doc/src/*
+       fi
+}
+
+pkg_postinst() {
+       use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+       use emacs && elisp-site-regen
+}