wok-stable annotate clisp/receipt @ rev 10282
bc: Add $CONFIGURE_ARGS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 21 17:55:13 2011 +0000 (2011-05-21) |
parents | 0c300d0368f1 |
children | 36a3008ee2e1 |
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" |
gokhlayeh@9180 | 9 BUILD_DEPENDS="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 |
gokhlayeh@9180 | 19 # CFLAGS/CXXFLAGS/MAKEFLAGS screw the build process. |
gokhlayeh@9180 | 20 unset CFLAGS CXXFLAGS MAKEFLAGS |
paul@7804 | 21 |
paul@7804 | 22 ./configure \ |
paul@7804 | 23 --with-libsigsegv \ |
paul@7804 | 24 --cbc build && |
paul@7804 | 25 |
paul@7804 | 26 # Be careful - unusual build rules! |
paul@7804 | 27 cd build && |
gokhlayeh@9180 | 28 make DESTDIR=$DESTDIR install |
paul@7804 | 29 } |
paul@7804 | 30 |
paul@7804 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@7804 | 32 genpkg_rules() |
paul@7804 | 33 { |
paul@7804 | 34 mkdir -p $fs/usr/share |
paul@7804 | 35 cp -a $_pkg/usr/bin $fs/usr |
paul@7804 | 36 cp -a $_pkg/usr/lib $fs/usr |
paul@7804 | 37 cp -a $_pkg/usr/share $fs/usr |
paul@7804 | 38 # remove stuff |
paul@7804 | 39 rm -rf $fs/usr/share/man |
paul@7804 | 40 } |
paul@7804 | 41 |