wok-next view clisp/receipt @ rev 20513

A lot of tiny edits; remove wget and pkg-build from $BUILD_DEPENDS and from *-dev packages $DEPENDS.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 21 15:58:17 2018 +0200 (2018-03-21)
parents d5a39f30f9f1
children d6378d455338
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"
14 BUILD_DEPENDS="readline-dev libsigsegv libffcall"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # Temporarily (?) disabling one failed test
20 patch -p1 -i $stuff/streams.tst.patch
22 # CFLAGS/CXXFLAGS/MAKEFLAGS screw the build process.
23 unset CFLAGS CXXFLAGS MAKEFLAGS
24 export CFLAGS="-falign-functions=4"
26 ./configure \
27 --with-libsigsegv \
28 --cbc build &&
30 # Be careful - unusual build rules!
31 cd build &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib $fs/usr
41 cp -a $install/usr/share $fs/usr
42 # remove stuff
43 rm -rf $fs/usr/share/man
44 }