# HG changeset patch # User Paul Issott # Date 1260392979 0 # Node ID 501ca17c34dae72d050d93c5c08c028504af1a52 # Parent 7c8bba58c1725e6ca2eb20017184e84aa66e03d7 Add: clisp (thanks pankso) diff -r 7c8bba58c172 -r 501ca17c34da clisp/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/clisp/receipt Wed Dec 09 21:09:39 2009 +0000 @@ -0,0 +1,44 @@ +# SliTaz package receipt. + +PACKAGE="clisp" +VERSION="2.48" +CATEGORY="development" +SHORT_DESC="GNU ANSI common lisp implementation." +MAINTAINER="paul@slitaz.org" +DEPENDS="readline" +BUILD_DEPENDS="readline-dev libsigsegv libffcall glibc-locale" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://clisp.sourceforge.net/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + + # Increase stack size to build. + ulimit -s 16384 + + ./configure \ + --prefix=/usr \ + --with-libsigsegv \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --cbc build + + # Be careful - unusual build rules! + cd build + make DESTDIR=$src/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib $fs/usr + cp -a $_pkg/usr/share $fs/usr + # remove stuff + rm -rf $fs/usr/share/man +} +