Date: Tuesday, February 21, 2012 @ 07:30:42 Author: juergen Revision: 150732
archrelease: copy trunk to extra-x86_64 Added: sbcl/repos/extra-x86_64/PKGBUILD (from rev 150731, sbcl/trunk/PKGBUILD) sbcl/repos/extra-x86_64/arch-fixes.lisp (from rev 150731, sbcl/trunk/arch-fixes.lisp) sbcl/repos/extra-x86_64/sbcl.install (from rev 150731, sbcl/trunk/sbcl.install) Deleted: sbcl/repos/extra-x86_64/PKGBUILD sbcl/repos/extra-x86_64/arch-fixes.lisp sbcl/repos/extra-x86_64/sbcl.install -----------------+ PKGBUILD | 138 +++++++++++++++++++++++++++--------------------------- arch-fixes.lisp | 42 ++++++++-------- sbcl.install | 36 +++++++------- 3 files changed, 108 insertions(+), 108 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2012-02-21 11:52:12 UTC (rev 150731) +++ PKGBUILD 2012-02-21 12:30:42 UTC (rev 150732) @@ -1,69 +0,0 @@ -# $Id$ -# Contributor: John Proctor <jproc...@prium.net> -# Contributor: Daniel White <dan...@whitehouse.id.au> -# Maintainer: Juergen Hoetzel <juer...@archlinux.org> -# Contributor: Leslie Polzer (skypher) - -pkgname=sbcl -pkgver=1.0.54 -pkgrel=1 -pkgdesc="Steel Bank Common Lisp" -url="http://www.sbcl.org/" -arch=('i686' 'x86_64') -license=('custom') -depends=('glibc') -provides=('common-lisp' 'cl-asdf') -makedepends=('sbcl' 'texinfo') -install=sbcl.install -source=("http://downloads.sourceforge.net/project/sbcl/sbcl/$pkgver/$pkgname-$pkgver-source.tar.bz2" - "arch-fixes.lisp") -md5sums=('b7e956a71d603bb714f71c2f7ef350f6' - '7ac0c1936547f4278198b8bf7725204d') - -build() { - cd "$srcdir/$pkgname-$pkgver" - - export CFLAGS+=" -DSBCL_HOME=\\\"/usr/lib/sbcl\\\"" - export GNUMAKE="make -e" - - # build system uses LINKFLAGS and OS_LIBS to build LDFLAGS - export LINKFLAGS="$LDFLAGS" - unset LDFLAGS - - # Make a multi-threaded SBCL, disable LARGEFILE - cat >customize-target-features.lisp <<EOF -(lambda (features) - (flet ((enable (x) (pushnew x features)) - (disable (x) (setf features (remove x features)))) - (enable :sb-thread) - (disable :largefile))) -EOF - - sh make.sh sbcl - make -C doc/manual info -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - - INSTALL_ROOT="$pkgdir/usr" sh install.sh - - src/runtime/sbcl --core output/sbcl.core --script ${startdir}/src/arch-fixes.lisp - mv sbcl-new.core ${startdir}/pkg/usr/lib/sbcl/sbcl.core - - # sources - mkdir -p "$pkgdir/usr/share/sbcl-source" - cp -R -t "$pkgdir/usr/share/sbcl-source" "$srcdir/$pkgname-$pkgver/"{src,contrib} - - # license - install -D -m644 "$srcdir/$pkgname-$pkgver/COPYING" \ - "$pkgdir/usr/share/licenses/$pkgname/license.txt" - - # drop unwanted files - find "$pkgdir" \( -name Makefile -o -name .cvsignore \) -delete - find "$pkgdir/usr/share/sbcl-source" -type f \ - \( -name \*.fasl -o -name \*.o -o -name \*.log -o -name \*.so -o -name a.out \) -delete - - rm "$pkgdir/usr/share/sbcl-source/src/runtime/sbcl"{,.nm} - -} Copied: sbcl/repos/extra-x86_64/PKGBUILD (from rev 150731, sbcl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2012-02-21 12:30:42 UTC (rev 150732) @@ -0,0 +1,69 @@ +# $Id$ +# Contributor: John Proctor <jproc...@prium.net> +# Contributor: Daniel White <dan...@whitehouse.id.au> +# Maintainer: Juergen Hoetzel <juer...@archlinux.org> +# Contributor: Leslie Polzer (skypher) + +pkgname=sbcl +pkgver=1.0.55 +pkgrel=1 +pkgdesc="Steel Bank Common Lisp" +url="http://www.sbcl.org/" +arch=('i686' 'x86_64') +license=('custom') +depends=('glibc') +provides=('common-lisp' 'cl-asdf') +makedepends=('sbcl' 'texinfo') +install=sbcl.install +source=("http://downloads.sourceforge.net/project/sbcl/sbcl/$pkgver/$pkgname-$pkgver-source.tar.bz2" + "arch-fixes.lisp") +md5sums=('128fb15c80e8e3f8d4024bd8e04635e0' + '7ac0c1936547f4278198b8bf7725204d') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + export CFLAGS+=" -DSBCL_HOME=\\\"/usr/lib/sbcl\\\"" + export GNUMAKE="make -e" + + # build system uses LINKFLAGS and OS_LIBS to build LDFLAGS + export LINKFLAGS="$LDFLAGS" + unset LDFLAGS + + # Make a multi-threaded SBCL, disable LARGEFILE + cat >customize-target-features.lisp <<EOF +(lambda (features) + (flet ((enable (x) (pushnew x features)) + (disable (x) (setf features (remove x features)))) + (enable :sb-thread) + (disable :largefile))) +EOF + + sh make.sh sbcl + make -C doc/manual info +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + INSTALL_ROOT="$pkgdir/usr" sh install.sh + + src/runtime/sbcl --core output/sbcl.core --script ${startdir}/src/arch-fixes.lisp + mv sbcl-new.core ${startdir}/pkg/usr/lib/sbcl/sbcl.core + + # sources + mkdir -p "$pkgdir/usr/share/sbcl-source" + cp -R -t "$pkgdir/usr/share/sbcl-source" "$srcdir/$pkgname-$pkgver/"{src,contrib} + + # license + install -D -m644 "$srcdir/$pkgname-$pkgver/COPYING" \ + "$pkgdir/usr/share/licenses/$pkgname/license.txt" + + # drop unwanted files + find "$pkgdir" \( -name Makefile -o -name .cvsignore \) -delete + find "$pkgdir/usr/share/sbcl-source" -type f \ + \( -name \*.fasl -o -name \*.o -o -name \*.log -o -name \*.so -o -name a.out \) -delete + + rm "$pkgdir/usr/share/sbcl-source/src/runtime/sbcl"{,.nm} + +} Deleted: arch-fixes.lisp =================================================================== --- arch-fixes.lisp 2012-02-21 11:52:12 UTC (rev 150731) +++ arch-fixes.lisp 2012-02-21 12:30:42 UTC (rev 150732) @@ -1,21 +0,0 @@ -(in-package "COMMON-LISP-USER") - -(let* ((parent (make-pathname :directory '(:absolute "usr" "share" "sbcl-source"))) - (src - (merge-pathnames - (make-pathname :directory '(:relative "src" :wild-inferiors) - :name :wild :type :wild) - parent)) - (contrib - (merge-pathnames - (make-pathname :directory '(:relative "contrib" :wild-inferiors) - :name :wild :type :wild) - parent))) - (setf (logical-pathname-translations "SYS") - `(("SYS:SRC;**;*.*.*" ,src) - ("SYS:CONTRIB;**;*.*.*" ,contrib)))) - -(ignore-errors - (sb-ext:gc :full t) - (sb-ext:enable-debugger) - (sb-ext:save-lisp-and-die "sbcl-new.core")) Copied: sbcl/repos/extra-x86_64/arch-fixes.lisp (from rev 150731, sbcl/trunk/arch-fixes.lisp) =================================================================== --- arch-fixes.lisp (rev 0) +++ arch-fixes.lisp 2012-02-21 12:30:42 UTC (rev 150732) @@ -0,0 +1,21 @@ +(in-package "COMMON-LISP-USER") + +(let* ((parent (make-pathname :directory '(:absolute "usr" "share" "sbcl-source"))) + (src + (merge-pathnames + (make-pathname :directory '(:relative "src" :wild-inferiors) + :name :wild :type :wild) + parent)) + (contrib + (merge-pathnames + (make-pathname :directory '(:relative "contrib" :wild-inferiors) + :name :wild :type :wild) + parent))) + (setf (logical-pathname-translations "SYS") + `(("SYS:SRC;**;*.*.*" ,src) + ("SYS:CONTRIB;**;*.*.*" ,contrib)))) + +(ignore-errors + (sb-ext:gc :full t) + (sb-ext:enable-debugger) + (sb-ext:save-lisp-and-die "sbcl-new.core")) Deleted: sbcl.install =================================================================== --- sbcl.install 2012-02-21 11:52:12 UTC (rev 150731) +++ sbcl.install 2012-02-21 12:30:42 UTC (rev 150732) @@ -1,18 +0,0 @@ -info_dir=/usr/share/info -info_files=(asdf.info sbcl.info) - -post_install() { - for f in ${info_files[@]}; do - install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null - done -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - for f in ${info_files[@]}; do - install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null - done -} Copied: sbcl/repos/extra-x86_64/sbcl.install (from rev 150731, sbcl/trunk/sbcl.install) =================================================================== --- sbcl.install (rev 0) +++ sbcl.install 2012-02-21 12:30:42 UTC (rev 150732) @@ -0,0 +1,18 @@ +info_dir=/usr/share/info +info_files=(asdf.info sbcl.info) + +post_install() { + for f in ${info_files[@]}; do + install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for f in ${info_files[@]}; do + install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +}