wok annotate clisp/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents 937925ea7478
children 7dd01dedad38
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
pascal@24383 16 # What is the latest version available today?
pascal@24383 17 current_version()
pascal@24383 18 {
pascal@24383 19 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24383 20 sed '/urrent version/!d;s|.*th><th>||;s| .*||;q'
pascal@24383 21 }
pascal@24383 22
paul@7804 23 # Rules to configure and make the package.
paul@7804 24 compile_rules()
paul@7804 25 {
pascal@20578 26 sed -i 's|(uname -m)|(echo i686)|' modules/*/configure \
pascal@20578 27 src/build-aux/config.guess src/configure
pascal@20578 28 sed -i 's|uname -m|echo i686|' src/makemake.in
pascal@20578 29
al@19318 30 # Temporarily (?) disabling one failed test
al@19318 31 patch -p1 -i $stuff/streams.tst.patch
paul@7804 32
gokhlayeh@9180 33 # CFLAGS/CXXFLAGS/MAKEFLAGS screw the build process.
gokhlayeh@9180 34 unset CFLAGS CXXFLAGS MAKEFLAGS
paul@7804 35
paul@7804 36 ./configure \
paul@7804 37 --with-libsigsegv \
pankso@10653 38 --cbc build &&
paul@7804 39
paul@7804 40 # Be careful - unusual build rules!
paul@7804 41 cd build &&
gokhlayeh@9180 42 make DESTDIR=$DESTDIR install
paul@7804 43 }
paul@7804 44
paul@7804 45 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@7804 46 genpkg_rules()
paul@7804 47 {
paul@7804 48 mkdir -p $fs/usr/share
pascal@15266 49 cp -a $install/usr/bin $fs/usr
pascal@15266 50 cp -a $install/usr/lib $fs/usr
pascal@15266 51 cp -a $install/usr/share $fs/usr
paul@7804 52 # remove stuff
paul@7804 53 rm -rf $fs/usr/share/man
paul@7804 54 }