wok view clisp/receipt @ rev 21440
Up ipxe (1.0.0-20170417)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 29 13:02:07 2019 +0200 (2019-04-29) |
parents | 291369229046 |
children | 937925ea7478 |
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 file"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|(uname -m)|(echo i686)|' modules/*/configure \
20 src/build-aux/config.guess src/configure
21 sed -i 's|uname -m|echo i686|' src/makemake.in
23 # Temporarily (?) disabling one failed test
24 patch -p1 -i $stuff/streams.tst.patch
26 # CFLAGS/CXXFLAGS/MAKEFLAGS screw the build process.
27 unset CFLAGS CXXFLAGS MAKEFLAGS
29 ./configure \
30 --with-libsigsegv \
31 --cbc build &&
33 # Be careful - unusual build rules!
34 cd build &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib $fs/usr
44 cp -a $install/usr/share $fs/usr
45 # remove stuff
46 rm -rf $fs/usr/share/man
47 }