wok-6.x view clisp/receipt @ rev 24920

updated mp (5.2.10 -> 5.58)
author Hans-G?nter Theisgen
date Sun Apr 10 07:48:27 2022 +0100 (2022-04-10)
parents 937925ea7478
children 7dd01dedad38
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 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/urrent version/!d;s|.*th><th>||;s| .*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's|(uname -m)|(echo i686)|' modules/*/configure \
27 src/build-aux/config.guess src/configure
28 sed -i 's|uname -m|echo i686|' src/makemake.in
30 # Temporarily (?) disabling one failed test
31 patch -p1 -i $stuff/streams.tst.patch
33 # CFLAGS/CXXFLAGS/MAKEFLAGS screw the build process.
34 unset CFLAGS CXXFLAGS MAKEFLAGS
36 ./configure \
37 --with-libsigsegv \
38 --cbc build &&
40 # Be careful - unusual build rules!
41 cd build &&
42 make DESTDIR=$DESTDIR install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr/share
49 cp -a $install/usr/bin $fs/usr
50 cp -a $install/usr/lib $fs/usr
51 cp -a $install/usr/share $fs/usr
52 # remove stuff
53 rm -rf $fs/usr/share/man
54 }