wok-6.x view clisp/receipt @ rev 16595
speedcrunch: do not fail when ./build exists
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 07 08:07:35 2014 +0000 (2014-05-07) |
parents | 3dc5b5917da0 |
children | d5a39f30f9f1 |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://clisp.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="readline ncurses"
14 BUILD_DEPENDS="readline-dev libsigsegv libffcall"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
21 # CFLAGS/CXXFLAGS/MAKEFLAGS screw the build process.
22 unset CFLAGS CXXFLAGS MAKEFLAGS
24 ./configure \
25 --with-libsigsegv \
26 --cbc build &&
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 $install/usr/bin $fs/usr
38 cp -a $install/usr/lib $fs/usr
39 cp -a $install/usr/share $fs/usr
40 # remove stuff
41 rm -rf $fs/usr/share/man
42 }