wok diff py3k/receipt @ rev 2121

mkpkgiso: may install lighttpd in install.sh
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 31 14:58:52 2009 +0000 (2009-01-31)
parents
children 93b397dc8274
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/py3k/receipt	Sat Jan 31 14:58:52 2009 +0000
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="py3k"
     1.7 +VERSION="3.0"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="The Python 3000 programming language."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +SOURCE="Python"
    1.12 +DEPENDS="openssl ncurses"
    1.13 +BUILD_DEPENDS="readline-dev openssl openssl-dev ncurses ncurses-dev"
    1.14 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.15 +WEB_SITE="http://www.python.org/download/releases/3.0/"
    1.16 +WGET_URL="http://www.python.org/ftp/python/$VERSION/$TARBALL"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	./configure --enable-shared --with-ncurses \
    1.23 +	--prefix=/usr --infodir=/usr/share/info \
    1.24 +	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.25 +	make &&
    1.26 +	make DESTDIR=$PWD/_pkg install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	mkdir -p $fs/usr
    1.33 +	cp -a $_pkg/usr/bin $fs/usr
    1.34 +	cp -a $_pkg/usr/lib $fs/usr
    1.35 +	rm -f $fs/usr/bin/*-config
    1.36 +}
    1.37 +