wok-4.x view py3k/receipt @ rev 4044
Add guile (extension language)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Sep 08 22:58:40 2009 +0200 (2009-09-08) |
parents | 2fa039deb90f |
children | f3327707164a |
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"
10 BUILD_DEPENDS="readline-dev openssl openssl-dev ncurses ncurses-dev"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.python.org/download/releases/3.0/"
13 WGET_URL="http://www.python.org/ftp/python/$VERSION/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --enable-shared --with-ncurses \
20 --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib $fs/usr
32 rm -f $fs/usr/bin/*-config
33 }