wok view py3k/receipt @ rev 6736

Up: zsync to 0.6.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Oct 16 19:10:42 2010 +0000 (2010-10-16)
parents d1926bfaec6a
children a8538bcee85b
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-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 }