wok-current annotate clisp/receipt @ rev 7804
Add clisp (again)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Fri Dec 24 13:45:07 2010 +0000 (2010-12-24) |
parents | |
children | 0381358b9532 |
rev | line source |
---|---|
paul@7804 | 1 # SliTaz package receipt. |
paul@7804 | 2 |
paul@7804 | 3 PACKAGE="clisp" |
paul@7804 | 4 VERSION="2.49" |
paul@7804 | 5 CATEGORY="development" |
paul@7804 | 6 SHORT_DESC="GNU ANSI common lisp implementation." |
paul@7804 | 7 MAINTAINER="paul@slitaz.org" |
paul@7804 | 8 DEPENDS="readline ncurses" |
paul@7804 | 9 BUILD_DEPENDS="readline-dev libsigsegv libffcall glibc-locale" |
paul@7804 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@7804 | 11 WEB_SITE="http://clisp.sourceforge.net/" |
paul@7804 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
paul@7804 | 13 |
paul@7804 | 14 # Rules to configure and make the package. |
paul@7804 | 15 compile_rules() |
paul@7804 | 16 { |
paul@7804 | 17 cd $src |
paul@7804 | 18 |
paul@7804 | 19 # Increase stack size to build. |
paul@7804 | 20 ulimit -s 16384 |
paul@7804 | 21 |
paul@7804 | 22 ./configure \ |
paul@7804 | 23 --prefix=/usr \ |
paul@7804 | 24 --with-libsigsegv \ |
paul@7804 | 25 --infodir=/usr/share/info \ |
paul@7804 | 26 --mandir=/usr/share/man \ |
paul@7804 | 27 --cbc build && |
paul@7804 | 28 |
paul@7804 | 29 # Be careful - unusual build rules! |
paul@7804 | 30 cd build && |
paul@7804 | 31 make DESTDIR=$src/_pkg install |
paul@7804 | 32 } |
paul@7804 | 33 |
paul@7804 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@7804 | 35 genpkg_rules() |
paul@7804 | 36 { |
paul@7804 | 37 mkdir -p $fs/usr/share |
paul@7804 | 38 cp -a $_pkg/usr/bin $fs/usr |
paul@7804 | 39 cp -a $_pkg/usr/lib $fs/usr |
paul@7804 | 40 cp -a $_pkg/usr/share $fs/usr |
paul@7804 | 41 # remove stuff |
paul@7804 | 42 rm -rf $fs/usr/share/man |
paul@7804 | 43 } |
paul@7804 | 44 |