wok-6.x view py3k/receipt @ rev 9570

Up: xorg-xproto to 7.0.21.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Apr 11 23:13:15 2011 +0000 (2011-04-11)
parents dc0644f601c0
children b5dedd192e8a
line source
1 # SliTaz package receipt.
3 PACKAGE="py3k"
4 VERSION="3.1.3"
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-libXss 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 }