wok-next annotate clisp/receipt @ rev 20661

Unification of the patch system
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu May 10 21:12:00 2018 +0300 (2018-05-10)
parents 15aee388a459
children df71b2704a30
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 {
gokhlayeh@9180 19 # CFLAGS/CXXFLAGS/MAKEFLAGS screw the build process.
gokhlayeh@9180 20 unset CFLAGS CXXFLAGS MAKEFLAGS
pascal@20021 21 export CFLAGS="-falign-functions=4"
paul@7804 22
paul@7804 23 ./configure \
paul@7804 24 --with-libsigsegv \
pankso@10653 25 --cbc build &&
paul@7804 26
paul@7804 27 # Be careful - unusual build rules!
paul@7804 28 cd build &&
gokhlayeh@9180 29 make DESTDIR=$DESTDIR install
paul@7804 30 }
paul@7804 31
paul@7804 32 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@7804 33 genpkg_rules()
paul@7804 34 {
paul@7804 35 mkdir -p $fs/usr/share
pascal@15266 36 cp -a $install/usr/bin $fs/usr
pascal@15266 37 cp -a $install/usr/lib $fs/usr
pascal@15266 38 cp -a $install/usr/share $fs/usr
paul@7804 39 # remove stuff
paul@7804 40 rm -rf $fs/usr/share/man
paul@7804 41 }