wok diff python/receipt @ rev 71

Removed meta pkg xorg-proto (xorg-dev-proto do the job)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Dec 25 17:16:56 2007 +0100 (2007-12-25)
parents
children 17a39e4461e4
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python/receipt	Tue Dec 25 17:16:56 2007 +0100
     1.3 @@ -0,0 +1,38 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="python"
     1.7 +VERSION="2.5.1"
     1.8 +CATEGORY="extra"
     1.9 +SHORT_DESC="The Python programming language."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +SOURCE="Python"
    1.12 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.13 +WEB_SITE="http://www.python.org/"
    1.14 +WGET_URL="http://www.python.org/ftp/python/$VERSION/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $src
    1.20 +	./configure --enable-shared --with-ncurses \
    1.21 +	--prefix=/usr --infodir=/usr/share/info \
    1.22 +	--mandir=/usr/share/man $CONFIGURE_ARGS
    1.23 +	make
    1.24 +	make DESTDIR=$PWD/_pkg install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr
    1.31 +	cp -a $_pkg/usr/bin $fs/usr
    1.32 +	cp -a $_pkg/usr/lib $fs/usr
    1.33 +	rm -f $fs/usr/bin/*-config
    1.34 +	strip -s $fs/usr/bin/* 2>/dev/null
    1.35 +	strip -s $fs/usr/lib/*.so* 2>/dev/null
    1.36 +	
    1.37 +	# Python can be symlink to python2.5 ???
    1.38 +	#cd $fs/usr/bin
    1.39 +	#rm python && ln -s python2.5 python
    1.40 +}
    1.41 +