summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2005-12-21 12:37:46 +0000
committerAron Griffis <agriffis@gentoo.org>2005-12-21 12:37:46 +0000
commitd5740f0b2ed6329649f84de98ef535a0bd352326 (patch)
tree4ffc01758d7752a9c7c7eceeb861a2b87d45b7d3 /dev-lisp
parentJikes is not needed to run cacao. (diff)
downloadhistorical-d5740f0b2ed6329649f84de98ef535a0bd352326.tar.gz
historical-d5740f0b2ed6329649f84de98ef535a0bd352326.tar.bz2
historical-d5740f0b2ed6329649f84de98ef535a0bd352326.zip
Minor changes:
- cp instead of mv in src_install, so it can be called again - the html tarball isn't being used, so comment it out of SRC_URI - replace large if-then-else blocks with arch-independent code - use find | xargs instead of -exec for efficiency Package-Manager: portage-2.0.53_rc7
Diffstat (limited to 'dev-lisp')
-rw-r--r--dev-lisp/sbcl/ChangeLog9
-rw-r--r--dev-lisp/sbcl/Manifest10
-rw-r--r--dev-lisp/sbcl/sbcl-0.9.7.ebuild59
3 files changed, 32 insertions, 46 deletions
diff --git a/dev-lisp/sbcl/ChangeLog b/dev-lisp/sbcl/ChangeLog
index 108c3845f60b..792edc73ffcc 100644
--- a/dev-lisp/sbcl/ChangeLog
+++ b/dev-lisp/sbcl/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-lisp/sbcl
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.77 2005/12/08 06:05:55 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.78 2005/12/21 12:37:46 agriffis Exp $
+
+ 21 Dec 2005; Aron Griffis <agriffis@gentoo.org> sbcl-0.9.7.ebuild:
+ Minor changes:
+ - cp instead of mv in src_install, so it can be called again
+ - the html tarball isn't being used, so comment it out of SRC_URI
+ - replace large if-then-else blocks with arch-independent code
+ - use find | xargs instead of -exec for efficiency
07 Dec 2005; Matthew Kennedy <mkennedy@gentoo.org> sbcl-0.9.7.ebuild:
Upgrade bootstrap compiler for AMD64 to 0.9.7; Resolves Bug #114259.
diff --git a/dev-lisp/sbcl/Manifest b/dev-lisp/sbcl/Manifest
index 7fc54234aae6..0681231a6f8d 100644
--- a/dev-lisp/sbcl/Manifest
+++ b/dev-lisp/sbcl/Manifest
@@ -1,7 +1,7 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 04d313566bff6461eae90feee320a63f ChangeLog 23715
+MD5 978a0b0a2aef49ccc1a8490e95b83989 ChangeLog 24051
MD5 45c4c194bdc01c92730e2f8ea5bbb2e5 files/0.9.3/README.Gentoo 1060
MD5 683427165f7d0717333bbb9762972b8d files/0.9.3/customize-target-features.lisp-prefix 95
MD5 7b753c4f6f63f1fc8630f3c9100a8ca9 files/0.9.3/customize-target-features.lisp-suffix 8
@@ -28,11 +28,11 @@ MD5 ff0b33e0c23970beea9db1cd99ef9f81 files/digest-sbcl-0.9.7 556
MD5 276b2c3efa0ff299306d94ad4704a9e2 metadata.xml 1004
MD5 e6a8dc74061cced7fd5fab222e795d5f sbcl-0.9.3.ebuild 5046
MD5 845ba0e216f2adf5eb504a5eb06b9037 sbcl-0.9.4.ebuild 5046
-MD5 63e4169adc2bf48142b3b19d30daec1f sbcl-0.9.7.ebuild 5048
+MD5 6e7d5e90cc0ce831ea0dd037bae88850 sbcl-0.9.7.ebuild 4416
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFDl81vyiNZaEAZA+ARAnglAJ9/lEgu6RXdiRIYz+546aD6HvUFbgCfWV75
-M7+JeydgeYgNblnmQPfZO80=
-=ypaZ
+iD8DBQFDqU2MJrHF4yAQTrARApiSAJ9oiMHfwJY32SjoL1xIlU+bTaTpsACfc+AK
+e4FXz+3tXDgXEjggkVFs46A=
+=xAzA
-----END PGP SIGNATURE-----
diff --git a/dev-lisp/sbcl/sbcl-0.9.7.ebuild b/dev-lisp/sbcl/sbcl-0.9.7.ebuild
index 697d25078932..1b8f730ee802 100644
--- a/dev-lisp/sbcl/sbcl-0.9.7.ebuild
+++ b/dev-lisp/sbcl/sbcl-0.9.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/sbcl-0.9.7.ebuild,v 1.2 2005/12/08 06:05:55 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/sbcl-0.9.7.ebuild,v 1.3 2005/12/21 12:37:46 agriffis Exp $
inherit common-lisp-common-2 eutils
@@ -13,12 +13,12 @@ BV_AMD64=0.9.7
DESCRIPTION="Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp."
HOMEPAGE="http://sbcl.sourceforge.net/"
SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2
- mirror://sourceforge/sbcl/${P}-html.tar.bz2
x86? ( mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 )
ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2 )
sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 )
mips? ( mirror://sourceforge/sbcl/${PN}-${BV_MIPS}-mips-linux-binary.tar.gz )
amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 )"
+# mirror://sourceforge/sbcl/${P}-html.tar.bz2
LICENSE="MIT"
SLOT="0"
@@ -32,7 +32,7 @@ DEPEND="=dev-lisp/common-lisp-controller-4*
PROVIDE="virtual/commonlisp"
-MY_WORK=${S}/my_work
+MY_WORK=${WORKDIR}/files
pkg_setup() {
if use hardened && gcc-config -c |grep -qv vanilla; then
@@ -51,25 +51,15 @@ EOF
}
src_unpack() {
- mkdir -p ${MY_WORK} && cp ${FILESDIR}/${PV}/* ${MY_WORK}
+ local a
+
+ mkdir -p ${MY_WORK}
+ cp ${FILESDIR}/${PV}/* ${MY_WORK}
sed -i "s,/usr/lib,/usr/$(get_libdir),g" ${MY_WORK}/*
- if use x86; then
- unpack ${PN}-${BV_X86}-x86-linux-binary.tar.bz2
- mv ${PN}-${BV_X86} x86-binary
- elif use ppc; then
- unpack ${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2
- mv ${PN}-${BV_PPC}-powerpc-linux ppc-binary
- elif use sparc; then
- unpack ${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2
- mv ${PN}-${BV_SPARC}-sparc-linux sparc-binary || die
- elif use mips; then
- unpack ${PN}-${BV_MIPS}-mips-linux-binary.tar.gz
- mv ${PN}-${BV_MIPS}-mips-linux mips-binary
- elif use amd64; then
- unpack ${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2
- mv ${PN}-${BV_AMD64}-x86-64-linux x86-64-binary
- fi
+ for a in ${A}; do [[ $a == *binary* ]] && break; done
+ unpack $a
+ mv ${PN}* sbcl-binary || die
unpack ${P}-source.tar.bz2
epatch ${MY_WORK}/sbcl-gentoo.patch || die
@@ -93,25 +83,14 @@ src_unpack() {
>>${S}/customize-target-features.lisp
cat ${MY_WORK}/customize-target-features.lisp-suffix \
>>${S}/customize-target-features.lisp
- find ${S} -type f -name .cvsignore -exec rm -f '{}' \;
- find ${S} -depth -type d -name CVS -exec rm -rf '{}' \;
- find ${S} -type f -name \*.c -exec chmod 644 '{}' \;
+
+ find ${S} -type f -name .cvsignore -print0 | xargs -0 rm -f
+ find ${S} -depth -type d -name CVS -print0 | xargs -0 rm -rf
+ find ${S} -type f -name \*.c -print0 | xargs -0 chmod 644
}
src_compile() {
- local bindir=""
-
- if use x86; then
- bindir=../x86-binary
- elif use ppc; then
- bindir=../ppc-binary
- elif use sparc; then
- bindir=../sparc-binary
- elif use mips; then
- bindir=../mips-binary
- elif use amd64; then
- bindir=../x86-64-binary
- fi
+ local bindir="${WORKDIR}/sbcl-binary"
LANG=C PATH=${bindir}/src/runtime:${PATH} SBCL_HOME=${bindir}/output GNUMAKE=make \
./make.sh 'sbcl
@@ -128,10 +107,10 @@ src_install() {
unset SBCL_HOME
insinto /etc/
- doins ${MY_WORK}/sbclrc # Gentoo specific (from Debian)
+ doins ${MY_WORK}/sbclrc || die # Gentoo specific (from Debian)
exeinto /usr/$(get_libdir)/common-lisp/bin
- doexe ${MY_WORK}/sbcl.sh # Gentoo specific (from Debian)
+ doexe ${MY_WORK}/sbcl.sh || die # Gentoo specific (from Debian)
dodir /usr/share/man
dodir /usr/share/doc/${PF}
@@ -153,8 +132,8 @@ src_install() {
if ! use nosource; then
# install the SBCL source
- find ${S}/src -type f -name \*.fasl |xargs rm -f
- mv ${S}/src ${D}/usr/$(get_libdir)/sbcl/
+ cp -pPR ${S}/src ${D}/usr/$(get_libdir)/sbcl
+ find ${D}/$(get_libdir)/sbcl/src -type f -name \*.fasl -print0 | xargs -0 rm -f
fi
impl-save-timestamp-hack sbcl || die