wok view python/receipt @ rev 1611

transmission: depends on libgio
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 19 14:32:41 2008 +0000 (2008-10-19)
parents 17a39e4461e4
children 42ddbfb9cf92
line source
1 # SliTaz package receipt.
3 PACKAGE="python"
4 VERSION="2.5.1"
5 CATEGORY="development"
6 SHORT_DESC="The Python programming language."
7 MAINTAINER="pankso@slitaz.org"
8 SOURCE="Python"
9 BUILD_DEPENDS="readline-dev"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.python.org/"
12 WGET_URL="http://www.python.org/ftp/python/$VERSION/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --enable-shared --with-ncurses \
19 --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib $fs/usr
31 rm -f $fs/usr/bin/*-config
32 strip -s $fs/usr/bin/* 2>/dev/null
33 strip -s $fs/usr/lib/*.so* 2>/dev/null
35 # Python can be symlink to python2.5 ???
36 #cd $fs/usr/bin
37 #rm python && ln -s python2.5 python
38 }