wok annotate clisp/receipt @ rev 22419
libxfce4util worked, so rebase xfce4 4.14 -> 4.12
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sun Dec 15 08:46:45 2019 +0000 (2019-12-15) |
parents | 7bc5e65f1caa |
children | 076f424196b2 |
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" |
pascal@15266 | 8 LICENSE="GPL2" |
paul@7804 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@7804 | 10 WEB_SITE="http://clisp.sourceforge.net/" |
paul@7804 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
paul@7804 | 12 |
pascal@22346 | 13 DEPENDS="readline ncurses libffcall" |
pascal@20567 | 14 BUILD_DEPENDS="readline-dev libsigsegv libffcall file" |
slaxemulator@10295 | 15 |
paul@7804 | 16 # Rules to configure and make the package. |
paul@7804 | 17 compile_rules() |
paul@7804 | 18 { |
pascal@20578 | 19 sed -i 's|(uname -m)|(echo i686)|' modules/*/configure \ |
pascal@20578 | 20 src/build-aux/config.guess src/configure |
pascal@20578 | 21 sed -i 's|uname -m|echo i686|' src/makemake.in |
pascal@20578 | 22 |
al@19318 | 23 # Temporarily (?) disabling one failed test |
al@19318 | 24 patch -p1 -i $stuff/streams.tst.patch |
paul@7804 | 25 |
gokhlayeh@9180 | 26 # CFLAGS/CXXFLAGS/MAKEFLAGS screw the build process. |
gokhlayeh@9180 | 27 unset CFLAGS CXXFLAGS MAKEFLAGS |
paul@7804 | 28 |
paul@7804 | 29 ./configure \ |
paul@7804 | 30 --with-libsigsegv \ |
pankso@10653 | 31 --cbc build && |
paul@7804 | 32 |
paul@7804 | 33 # Be careful - unusual build rules! |
paul@7804 | 34 cd build && |
gokhlayeh@9180 | 35 make DESTDIR=$DESTDIR install |
paul@7804 | 36 } |
paul@7804 | 37 |
paul@7804 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@7804 | 39 genpkg_rules() |
paul@7804 | 40 { |
paul@7804 | 41 mkdir -p $fs/usr/share |
pascal@15266 | 42 cp -a $install/usr/bin $fs/usr |
pascal@15266 | 43 cp -a $install/usr/lib $fs/usr |
pascal@15266 | 44 cp -a $install/usr/share $fs/usr |
paul@7804 | 45 # remove stuff |
paul@7804 | 46 rm -rf $fs/usr/share/man |
paul@7804 | 47 } |