wok view clisp/receipt @ rev 23982

dog: fix bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 21 13:13:55 2020 +0000 (2020-11-21)
parents 7bc5e65f1caa
children 076f424196b2
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 libffcall"
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 }