wok view python/receipt @ rev 1148

xorg-libX11-dev: typo (thanks Chadi)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 26 13:42:32 2008 +0000 (2008-07-26)
parents 8d79fbb0f566
children 14320228765e
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 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 }