wok-next view python/receipt @ rev 32
Add : alsa-* and sound libs (ogg, mad, etc) + mpg123
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Dec 18 14:04:58 2007 +0100 (2007-12-18) |
parents | |
children | 17a39e4461e4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python"
4 VERSION="2.5.1"
5 CATEGORY="extra"
6 SHORT_DESC="The Python programming language."
7 MAINTAINER="pankso@slitaz.org"
8 SOURCE="Python"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.python.org/"
11 WGET_URL="http://www.python.org/ftp/python/$VERSION/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --enable-shared --with-ncurses \
18 --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib $fs/usr
30 rm -f $fs/usr/bin/*-config
31 strip -s $fs/usr/bin/* 2>/dev/null
32 strip -s $fs/usr/lib/*.so* 2>/dev/null
34 # Python can be symlink to python2.5 ???
35 #cd $fs/usr/bin
36 #rm python && ln -s python2.5 python
37 }