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

shaarli: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 20 12:48:01 2013 +0100 (2013-02-20)
parents 36a3008ee2e1
children 6498d0dac540
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://clisp.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="readline ncurses"
13 BUILD_DEPENDS="readline-dev libsigsegv libffcall"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
20 # CFLAGS/CXXFLAGS/MAKEFLAGS screw the build process.
21 unset CFLAGS CXXFLAGS MAKEFLAGS
23 ./configure \
24 --with-libsigsegv \
25 --cbc build &&
27 # Be careful - unusual build rules!
28 cd build &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/lib $fs/usr
38 cp -a $_pkg/usr/share $fs/usr
39 # remove stuff
40 rm -rf $fs/usr/share/man
41 }