wok-next annotate clisp/receipt @ rev 12378
Up: laptop-mode-tools to 1.60.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Apr 19 22:23:48 2012 +0000 (2012-04-19) |
parents | 36a3008ee2e1 |
children | 6498d0dac540 |
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 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@7804 | 9 WEB_SITE="http://clisp.sourceforge.net/" |
paul@7804 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
paul@7804 | 11 |
slaxemulator@10295 | 12 DEPENDS="readline ncurses" |
pankso@10653 | 13 BUILD_DEPENDS="readline-dev libsigsegv libffcall" |
slaxemulator@10295 | 14 |
paul@7804 | 15 # Rules to configure and make the package. |
paul@7804 | 16 compile_rules() |
paul@7804 | 17 { |
paul@7804 | 18 cd $src |
paul@7804 | 19 |
gokhlayeh@9180 | 20 # CFLAGS/CXXFLAGS/MAKEFLAGS screw the build process. |
gokhlayeh@9180 | 21 unset CFLAGS CXXFLAGS MAKEFLAGS |
paul@7804 | 22 |
paul@7804 | 23 ./configure \ |
paul@7804 | 24 --with-libsigsegv \ |
pankso@10653 | 25 --cbc build && |
paul@7804 | 26 |
paul@7804 | 27 # Be careful - unusual build rules! |
paul@7804 | 28 cd build && |
gokhlayeh@9180 | 29 make DESTDIR=$DESTDIR install |
paul@7804 | 30 } |
paul@7804 | 31 |
paul@7804 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@7804 | 33 genpkg_rules() |
paul@7804 | 34 { |
paul@7804 | 35 mkdir -p $fs/usr/share |
paul@7804 | 36 cp -a $_pkg/usr/bin $fs/usr |
paul@7804 | 37 cp -a $_pkg/usr/lib $fs/usr |
paul@7804 | 38 cp -a $_pkg/usr/share $fs/usr |
paul@7804 | 39 # remove stuff |
paul@7804 | 40 rm -rf $fs/usr/share/man |
paul@7804 | 41 } |
paul@7804 | 42 |