wok-current annotate py3k/receipt @ rev 5231

fet-virtualbox: fix typo in patch file.
author erjo@localhost
date Thu Apr 08 10:50:22 2010 +0200 (2010-04-08)
parents f3327707164a
children d1926bfaec6a
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@5031 9 DEPENDS="openssl ncurses bzlib readline sqlite zlib xorg-libXs ncursesw gdbm \
pascal@5031 10 tk xorg-libXext"
pascal@1822 11 BUILD_DEPENDS="readline-dev openssl openssl-dev ncurses ncurses-dev"
pascal@1822 12 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@1822 13 WEB_SITE="http://www.python.org/download/releases/3.0/"
pascal@1822 14 WGET_URL="http://www.python.org/ftp/python/$VERSION/$TARBALL"
pascal@1822 15
pascal@1822 16 # Rules to configure and make the package.
pascal@1822 17 compile_rules()
pascal@1822 18 {
pascal@1822 19 cd $src
pascal@1822 20 ./configure --enable-shared --with-ncurses \
pascal@1822 21 --prefix=/usr --infodir=/usr/share/info \
pascal@1822 22 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1822 23 make &&
pascal@1822 24 make DESTDIR=$PWD/_pkg install
pascal@1822 25 }
pascal@1822 26
pascal@1822 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1822 28 genpkg_rules()
pascal@1822 29 {
pascal@1822 30 mkdir -p $fs/usr
pascal@1822 31 cp -a $_pkg/usr/bin $fs/usr
pascal@1822 32 cp -a $_pkg/usr/lib $fs/usr
pascal@1822 33 rm -f $fs/usr/bin/*-config
pascal@1822 34 }
pascal@1822 35