wok-current view py3k/receipt @ rev 6336

Up: seamonkey to 2.0.8.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Sep 19 02:07:12 2010 +0000 (2010-09-19)
parents 8fd90285da5e
children dc0644f601c0
line source
1 # SliTaz package receipt.
3 PACKAGE="py3k"
4 VERSION="3.1.2"
5 CATEGORY="development"
6 SHORT_DESC="The Python 3000 programming language."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="Python"
9 DEPENDS="openssl ncurses bzlib readline sqlite zlib xorg-libXs ncursesw gdbm \
10 tk xorg-libXext"
11 BUILD_DEPENDS="readline-dev openssl openssl-dev ncurses ncurses-dev
12 gdbm-dev"
13 TARBALL="$SOURCE-$VERSION.tar.bz2"
14 WEB_SITE="http://www.python.org/download/releases/3.0/"
15 WGET_URL="http://www.python.org/ftp/python/$VERSION/$TARBALL"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --enable-shared --with-ncurses \
22 --prefix=/usr --infodir=/usr/share/info \
23 --mandir=/usr/share/man $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib $fs/usr
34 rm -f $fs/usr/bin/*-config
35 }