pkg_prerm should have been pkg_postrm; Fixes a problem where files from the previous...
authorMatthew Kennedy <mkennedy@gentoo.org>
Sun, 19 Nov 2006 17:20:55 +0000 (17:20 +0000)
committerMatthew Kennedy <mkennedy@gentoo.org>
Sun, 19 Nov 2006 17:20:55 +0000 (17:20 +0000)
Package-Manager: portage-2.1.2_rc2

dev-lisp/cmucl/ChangeLog
dev-lisp/cmucl/Manifest
dev-lisp/cmucl/cmucl-19d_pre1-r1.ebuild [new file with mode: 0644]
dev-lisp/cmucl/files/digest-cmucl-19d_pre1-r1 [new file with mode: 0644]

index 8188859e19b75021f85c5bb2f7cf9996b05f0f61..7ce41615d4eb41d4826f95d74b9bb1fddcfccc2e 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for dev-lisp/cmucl
 # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cmucl/ChangeLog,v 1.23 2006/11/09 02:28:47 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cmucl/ChangeLog,v 1.24 2006/11/19 17:20:55 mkennedy Exp $
+
+*cmucl-19d_pre1-r1 (19 Nov 2006)
+
+  19 Nov 2006; Matthew Kennedy <mkennedy@gentoo.org>
+  +cmucl-19d_pre1-r1.ebuild:
+  pkg_prerm should have been pkg_postrm; Fixes a problem where files from the
+  previous CMUCL are left over.
 
 *cmucl-19d_pre1 (09 Nov 2006)
 
index 5d2c390735d20f7b5924cff9f1b49bcd92e23800..15ee00b9dd265ba96a186da4a878381e7e90665c 100644 (file)
@@ -110,14 +110,18 @@ EBUILD cmucl-19c.ebuild 5110 RMD160 f3153b51764ad7d23eb941540c27222b5ec3c1e2 SHA
 MD5 f4567c947445db36ca5c3b668c92de93 cmucl-19c.ebuild 5110
 RMD160 f3153b51764ad7d23eb941540c27222b5ec3c1e2 cmucl-19c.ebuild 5110
 SHA256 89ca72a549439660df2da9da7760f8643d5c1a35cf6e5ca9b104ee3d45d45d24 cmucl-19c.ebuild 5110
+EBUILD cmucl-19d_pre1-r1.ebuild 2186 RMD160 119502eb135b0c0d53069a9d7c1ae6f62514d707 SHA1 348793f38550ffbc01ec7a7fde4782ea14fb9161 SHA256 c0ee1362c3ce4c34d543c80febd589c987df9a996e03a3e205fe1de8b9b5abd0
+MD5 6d84a9d0f0e2a330314ddf069642fc42 cmucl-19d_pre1-r1.ebuild 2186
+RMD160 119502eb135b0c0d53069a9d7c1ae6f62514d707 cmucl-19d_pre1-r1.ebuild 2186
+SHA256 c0ee1362c3ce4c34d543c80febd589c987df9a996e03a3e205fe1de8b9b5abd0 cmucl-19d_pre1-r1.ebuild 2186
 EBUILD cmucl-19d_pre1.ebuild 2085 RMD160 519588c4b07bf3696cbd5544973ad959d9e751e9 SHA1 ccafbf7bb74217f73c9001d37087fa968cef7d78 SHA256 c16e3e0f768aa101c64cee95d11140f0ad1539a7a72a37168c31fea7a3c342c5
 MD5 b9a5c92874c703d433c800498d685a79 cmucl-19d_pre1.ebuild 2085
 RMD160 519588c4b07bf3696cbd5544973ad959d9e751e9 cmucl-19d_pre1.ebuild 2085
 SHA256 c16e3e0f768aa101c64cee95d11140f0ad1539a7a72a37168c31fea7a3c342c5 cmucl-19d_pre1.ebuild 2085
-MISC ChangeLog 4289 RMD160 0f367834c7fab30624c82c5e0c6b232a16be86eb SHA1 d9d0af2812598a77be23e26533d93521f91e0eed SHA256 5e3ee0233d06d9c91b31c93080c5f1e7508e56f620419dda61e71545968033fd
-MD5 46372593926efdc081861ab63bb7c28e ChangeLog 4289
-RMD160 0f367834c7fab30624c82c5e0c6b232a16be86eb ChangeLog 4289
-SHA256 5e3ee0233d06d9c91b31c93080c5f1e7508e56f620419dda61e71545968033fd ChangeLog 4289
+MISC ChangeLog 4516 RMD160 cc79b9c61f3a552dcc6f7e426bca3f661bd03bd6 SHA1 2679b7a0a7f8b143acf0449d4a22e1bc503bef85 SHA256 17f776c088df293a4708591bdf377a2447a62edc72fdb59033f17b2d4fe5c90a
+MD5 e4c8bb7a55adc8b92d7b07ad6be26449 ChangeLog 4516
+RMD160 cc79b9c61f3a552dcc6f7e426bca3f661bd03bd6 ChangeLog 4516
+SHA256 17f776c088df293a4708591bdf377a2447a62edc72fdb59033f17b2d4fe5c90a ChangeLog 4516
 MISC metadata.xml 1107 RMD160 7f75e590d70bc3ea17dbe0a9ec07699c533515dd SHA1 219127bb8f1c7245a7ca7611b99cca15551948c4 SHA256 36018b9216ec88b76b481c203ca13e9630ffa4b8192ed5e30fcf172702e79310
 MD5 929688a2167434e2a4f0169de47e7428 metadata.xml 1107
 RMD160 7f75e590d70bc3ea17dbe0a9ec07699c533515dd metadata.xml 1107
@@ -137,10 +141,13 @@ SHA256 709eb27cd9c1c9f1875fea62bd95a9773ca5c3dc12f14755746badc58f9ac673 files/di
 MD5 bb55a938d6940afa287b73005e2eb2d8 files/digest-cmucl-19d_pre1 542
 RMD160 378be8d6e1bc98e511a3ad576a78d720229b1ef1 files/digest-cmucl-19d_pre1 542
 SHA256 56637652ad7c3d8fb1789c799031de8899221c26d3660d4562ef2651671b5569 files/digest-cmucl-19d_pre1 542
+MD5 bb55a938d6940afa287b73005e2eb2d8 files/digest-cmucl-19d_pre1-r1 542
+RMD160 378be8d6e1bc98e511a3ad576a78d720229b1ef1 files/digest-cmucl-19d_pre1-r1 542
+SHA256 56637652ad7c3d8fb1789c799031de8899221c26d3660d4562ef2651671b5569 files/digest-cmucl-19d_pre1-r1 542
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.5 (GNU/Linux)
 
-iD8DBQFFUpJuyiNZaEAZA+ARAuByAJ47xqfd4JTLMk1UDEV27r31xmW97gCeO71M
-xQ2hJ5hx7WgLjY9AVtvBa4w=
-=K4Ab
+iD8DBQFFYJJ+yiNZaEAZA+ARAm5KAJ0dVLg4Fn6MYZNzKhIJ4+LuwGcGYwCfUR19
+rbUKl8aPZMMMqwG+uEjkO/8=
+=/rcH
 -----END PGP SIGNATURE-----
diff --git a/dev-lisp/cmucl/cmucl-19d_pre1-r1.ebuild b/dev-lisp/cmucl/cmucl-19d_pre1-r1.ebuild
new file mode 100644 (file)
index 0000000..10e2016
--- /dev/null
@@ -0,0 +1,72 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cmucl/cmucl-19d_pre1-r1.ebuild,v 1.1 2006/11/19 17:20:55 mkennedy Exp $
+
+inherit common-lisp-common-3 eutils toolchain-funcs
+
+MY_PVL=${PV/_/-}
+MY_PV=${PV:0:3}
+
+DESCRIPTION="CMU Common Lisp is an implementation of ANSI Common Lisp"
+HOMEPAGE="http://www.cons.org/cmucl/"
+SRC_URI="http://common-lisp.net/project/cmucl/downloads/release/${MY_PV}/pre-release/cmucl-src-${MY_PVL}.tar.bz2
+       http://common-lisp.net/project/cmucl/downloads/release/${MY_PV}/pre-release/cmucl-${MY_PVL}-x86-linux.tar.bz2"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc lesstif source"
+
+DEPEND="lesstif? ( x11-libs/lesstif )
+       !lesstif? ( x11-libs/openmotif )
+       sys-devel/bc"
+
+PROVIDE="virtual/commonlisp"
+
+S=${WORKDIR}
+
+src_unpack() {
+       unpack ${A}
+       epatch ${FILESDIR}/${MY_PV}-gentoo.patch || die
+       find ${S} -type f \( -name \*.sh -o -name linux-nm \) \
+               -exec chmod +x '{}' \;
+       # non-x86 maintainers, add to the the following and verify
+       if use lesstif || test -d /usr/X11R6/include/lesstif; then
+               sed -i -e 's,-I/usr/X11R6/include,-I/usr/X11R6/include/lesstif,g' \
+                       -e 's,-L/usr/X11R6/lib,-L/usr/X11R6/lib/lesstif -L/usr/X11R6/lib,g' \
+                       src/motif/server/Config.x86
+       fi
+       sed -i -e "s,CC = .*,CC = $(tc-getCC),g" src/lisp/Config.linux_gencgc
+       sed -i -e 's,"time","",g' src/tools/build.sh
+       sed -i -e "s,@CFLAGS@,$CFLAGS,g" src/lisp/Config.linux_gencgc src/motif/server/Config.x86
+}
+
+src_compile() {
+       export SANDBOX_ON=0
+       src/tools/build.sh -C "" -o "bin/lisp -core lib/cmucl/lib/lisp.core -batch -noinit -nositeinit" || die
+}
+
+src_install() {
+       src/tools/make-dist.sh -g -G root -O root build-4 ${MY_PVL} x86 linux
+       dodir /usr/share/doc
+       for i in cmucl-${MY_PVL}-x86-linux.{,extra.}tar.gz; do
+               tar xzpf $i -C ${D}/usr
+       done
+       mv ${D}/usr/doc ${D}/usr/share/doc/${PF}
+       mv ${D}/usr/man ${D}/usr/share/
+       impl-save-timestamp-hack cmucl || die
+}
+
+pkg_postinst() {
+       standard-impl-postinst cmucl
+}
+
+pkg_postrm() {
+       standard-impl-postrm cmucl /usr/bin/lisp
+}
+
+# pkg_postrm() {
+#      if [ ! -x /usr/bin/lisp ]; then
+#              rm -rf /usr/lib/cmucl/ || die
+#      fi
+# }
diff --git a/dev-lisp/cmucl/files/digest-cmucl-19d_pre1-r1 b/dev-lisp/cmucl/files/digest-cmucl-19d_pre1-r1
new file mode 100644 (file)
index 0000000..5485748
--- /dev/null
@@ -0,0 +1,6 @@
+MD5 06dba01693757fb57bcad374cf720b9e cmucl-19d-pre1-x86-linux.tar.bz2 7600456
+RMD160 59d8e1211fb2e37ecabfd6cda9a706b57913d9ec cmucl-19d-pre1-x86-linux.tar.bz2 7600456
+SHA256 959157ee365d499d065f08d9ab385d2fff6adda11ce78d79ede0247fb4ba6e6e cmucl-19d-pre1-x86-linux.tar.bz2 7600456
+MD5 f759dc6fc7dc04d0bc4037b57575f659 cmucl-src-19d-pre1.tar.bz2 3780423
+RMD160 19a536c4492d1ef6a59f09b6e9d9b90da6a88408 cmucl-src-19d-pre1.tar.bz2 3780423
+SHA256 117e8fd8c7c02a7bcdbc055a23431ffc895c9766c1459b5daaf91203cbc9ad05 cmucl-src-19d-pre1.tar.bz2 3780423