wok-current annotate py3k/receipt @ rev 2038

Up: cairo (1.8.6)
author Fabrice THIROUX <mimas@slitaz.org>
date Tue Jan 13 18:49:19 2009 +0100 (2009-01-13)
parents
children 93b397dc8274
rev   line source
pascal@1822 1 # SliTaz package receipt.
pascal@1822 2
pascal@1822 3 PACKAGE="py3k"
pascal@1822 4 VERSION="3.0"
pascal@1822 5 CATEGORY="development"
pascal@1822 6 SHORT_DESC="The Python 3000 programming language."
pascal@1822 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1822 8 SOURCE="Python"
pascal@1822 9 DEPENDS="openssl ncurses"
pascal@1822 10 BUILD_DEPENDS="readline-dev openssl openssl-dev ncurses ncurses-dev"
pascal@1822 11 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@1822 12 WEB_SITE="http://www.python.org/download/releases/3.0/"
pascal@1822 13 WGET_URL="http://www.python.org/ftp/python/$VERSION/$TARBALL"
pascal@1822 14
pascal@1822 15 # Rules to configure and make the package.
pascal@1822 16 compile_rules()
pascal@1822 17 {
pascal@1822 18 cd $src
pascal@1822 19 ./configure --enable-shared --with-ncurses \
pascal@1822 20 --prefix=/usr --infodir=/usr/share/info \
pascal@1822 21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1822 22 make &&
pascal@1822 23 make DESTDIR=$PWD/_pkg install
pascal@1822 24 }
pascal@1822 25
pascal@1822 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1822 27 genpkg_rules()
pascal@1822 28 {
pascal@1822 29 mkdir -p $fs/usr
pascal@1822 30 cp -a $_pkg/usr/bin $fs/usr
pascal@1822 31 cp -a $_pkg/usr/lib $fs/usr
pascal@1822 32 rm -f $fs/usr/bin/*-config
pascal@1822 33 }
pascal@1822 34