wok-current view clisp/receipt @ rev 25572

BootProg: fix boot16.asm (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 13 13:34:41 2023 +0000 (18 months ago)
parents 076f424196b2
children
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="https://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 }