wok annotate clisp/receipt @ rev 16709

fpc: improve receipt
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu May 29 00:00:32 2014 +0200 (2014-05-29)
parents 3dc5b5917da0
children d5a39f30f9f1
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
slaxemulator@10295 13 DEPENDS="readline ncurses"
pankso@10653 14 BUILD_DEPENDS="readline-dev libsigsegv libffcall"
slaxemulator@10295 15
paul@7804 16 # Rules to configure and make the package.
paul@7804 17 compile_rules()
paul@7804 18 {
paul@7804 19 cd $src
paul@7804 20
gokhlayeh@9180 21 # CFLAGS/CXXFLAGS/MAKEFLAGS screw the build process.
gokhlayeh@9180 22 unset CFLAGS CXXFLAGS MAKEFLAGS
paul@7804 23
paul@7804 24 ./configure \
paul@7804 25 --with-libsigsegv \
pankso@10653 26 --cbc build &&
paul@7804 27
paul@7804 28 # Be careful - unusual build rules!
paul@7804 29 cd build &&
gokhlayeh@9180 30 make DESTDIR=$DESTDIR install
paul@7804 31 }
paul@7804 32
paul@7804 33 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@7804 34 genpkg_rules()
paul@7804 35 {
paul@7804 36 mkdir -p $fs/usr/share
pascal@15266 37 cp -a $install/usr/bin $fs/usr
pascal@15266 38 cp -a $install/usr/lib $fs/usr
pascal@15266 39 cp -a $install/usr/share $fs/usr
paul@7804 40 # remove stuff
paul@7804 41 rm -rf $fs/usr/share/man
paul@7804 42 }
paul@7804 43