wok-current view py3k/receipt @ rev 6928
Up: elfutils to 0.149. Fixed it to build in clean chroot. Fixed it also to download sources with real wget by since sources are on https host. So now elfutils can download its sources just fine.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Oct 22 22:36:22 2010 +0000 (2010-10-22) |
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 }