Date: Wednesday, November 14, 2012 @ 08:51:56 Author: juergen Revision: 170982
archrelease: copy trunk to extra-x86_64 Added: sbcl/repos/extra-x86_64/PKGBUILD (from rev 170981, sbcl/trunk/PKGBUILD) sbcl/repos/extra-x86_64/arch-fixes.lisp (from rev 170981, sbcl/trunk/arch-fixes.lisp) sbcl/repos/extra-x86_64/sbcl.install (from rev 170981, 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 | 140 +++++++++++++++++++++++++++--------------------------- arch-fixes.lisp | 42 ++++++++-------- sbcl.install | 36 ++++++------- 3 files changed, 109 insertions(+), 109 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2012-11-14 13:43:11 UTC (rev 170981) +++ PKGBUILD 2012-11-14 13:51:56 UTC (rev 170982) @@ -1,70 +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.1.0 -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' 'zlib') -makedepends=('sbcl' 'texinfo') -install=sbcl.install -source=("http://downloads.sourceforge.net/project/sbcl/sbcl/$pkgver/$pkgname-$pkgver-source.tar.bz2" - "arch-fixes.lisp") -md5sums=('7390495ce158eac45002c028ed8c149b' - '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) - (enable :sb-core-compression) - (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 170981, sbcl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2012-11-14 13:51:56 UTC (rev 170982) @@ -0,0 +1,70 @@ +# $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.1.1 +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' 'zlib') +makedepends=('sbcl' 'texinfo') +install=sbcl.install +source=("http://downloads.sourceforge.net/project/sbcl/sbcl/$pkgver/$pkgname-$pkgver-source.tar.bz2" + "arch-fixes.lisp") +md5sums=('1f000ca9d83072b2712d6cdfca7b41de' + '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) + (enable :sb-core-compression) + (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-11-14 13:43:11 UTC (rev 170981) +++ arch-fixes.lisp 2012-11-14 13:51:56 UTC (rev 170982) @@ -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 170981, sbcl/trunk/arch-fixes.lisp) =================================================================== --- arch-fixes.lisp (rev 0) +++ arch-fixes.lisp 2012-11-14 13:51:56 UTC (rev 170982) @@ -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-11-14 13:43:11 UTC (rev 170981) +++ sbcl.install 2012-11-14 13:51:56 UTC (rev 170982) @@ -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 170981, sbcl/trunk/sbcl.install) =================================================================== --- sbcl.install (rev 0) +++ sbcl.install 2012-11-14 13:51:56 UTC (rev 170982) @@ -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 +}