wok-next rev 4580

Add: clisp (thanks pankso)
author Paul Issott <paul@slitaz.org>
date Wed Dec 09 21:09:39 2009 +0000 (2009-12-09)
parents 7c8bba58c172
children 3f1ebca13b4f
files clisp/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/clisp/receipt	Wed Dec 09 21:09:39 2009 +0000
     1.3 @@ -0,0 +1,44 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="clisp"
     1.7 +VERSION="2.48"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="GNU ANSI common lisp implementation."
    1.10 +MAINTAINER="paul@slitaz.org"
    1.11 +DEPENDS="readline"
    1.12 +BUILD_DEPENDS="readline-dev libsigsegv libffcall glibc-locale"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://clisp.sourceforge.net/"
    1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +
    1.22 +	# Increase stack size to build.
    1.23 +	ulimit -s 16384
    1.24 +
    1.25 +	./configure \
    1.26 +		--prefix=/usr \
    1.27 +		--with-libsigsegv \
    1.28 +		--infodir=/usr/share/info \
    1.29 +		--mandir=/usr/share/man \
    1.30 +		--cbc build
    1.31 +
    1.32 +	# Be careful - unusual build rules!
    1.33 +	cd build
    1.34 +	make DESTDIR=$src/_pkg install
    1.35 +}
    1.36 +
    1.37 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 +genpkg_rules()
    1.39 +{
    1.40 +	mkdir -p $fs/usr/share
    1.41 +	cp -a $_pkg/usr/bin $fs/usr
    1.42 +	cp -a $_pkg/usr/lib $fs/usr
    1.43 +	cp -a $_pkg/usr/share $fs/usr
    1.44 +	# remove stuff
    1.45 +	rm -rf $fs/usr/share/man
    1.46 +}
    1.47 +