wok-stable view clisp/receipt @ rev 10295

clisp: Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 21 18:41:53 2011 +0000 (2011-05-21)
parents 0381358b9532
children 3dc5b5917da0
line source
1 # SliTaz package receipt.
3 PACKAGE="clisp"
4 VERSION="2.49"
5 CATEGORY="development"
6 SHORT_DESC="GNU ANSI common lisp implementation."
7 MAINTAINER="paul@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://clisp.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="readline ncurses"
13 BUILD_DEPENDS="readline-dev libsigsegv libffcall glibc-locale"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
20 # CFLAGS/CXXFLAGS/MAKEFLAGS screw the build process.
21 unset CFLAGS CXXFLAGS MAKEFLAGS
23 ./configure \
24 --with-libsigsegv \
25 --cbc build \
26 $CONFIGURE_ARGS &&
28 # Be careful - unusual build rules!
29 cd build &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $_pkg/usr/lib $fs/usr
39 cp -a $_pkg/usr/share $fs/usr
40 # remove stuff
41 rm -rf $fs/usr/share/man
42 }