wok view py3k/receipt @ rev 5301
Up: ndiswrapper (1.56)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 19 20:19:01 2010 +0200 (2010-04-19) |
parents | f3327707164a |
children | d1926bfaec6a |
line source
1 # SliTaz package receipt.
3 PACKAGE="py3k"
4 VERSION="3.0"
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 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WEB_SITE="http://www.python.org/download/releases/3.0/"
14 WGET_URL="http://www.python.org/ftp/python/$VERSION/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --enable-shared --with-ncurses \
21 --prefix=/usr --infodir=/usr/share/info \
22 --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib $fs/usr
33 rm -f $fs/usr/bin/*-config
34 }