wok-stable annotate py3k/receipt @ rev 9086

nagvis: typo in genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 18:14:34 2011 +0100 (2011-03-04)
parents dc0644f601c0
children b5dedd192e8a
rev   line source
pascal@1822 1 # SliTaz package receipt.
pascal@1822 2
pascal@1822 3 PACKAGE="py3k"
slaxemulator@7578 4 VERSION="3.1.3"
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@6407 9 DEPENDS="openssl ncurses bzlib readline sqlite zlib xorg-libXss ncursesw gdbm \
pascal@5031 10 tk xorg-libXext"
erjo@5897 11 BUILD_DEPENDS="readline-dev openssl openssl-dev ncurses ncurses-dev
erjo@5897 12 gdbm-dev"
pascal@1822 13 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@1822 14 WEB_SITE="http://www.python.org/download/releases/3.0/"
pascal@1822 15 WGET_URL="http://www.python.org/ftp/python/$VERSION/$TARBALL"
pascal@1822 16
pascal@1822 17 # Rules to configure and make the package.
pascal@1822 18 compile_rules()
pascal@1822 19 {
pascal@1822 20 cd $src
pascal@1822 21 ./configure --enable-shared --with-ncurses \
pascal@1822 22 --prefix=/usr --infodir=/usr/share/info \
pascal@1822 23 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1822 24 make &&
pascal@1822 25 make DESTDIR=$PWD/_pkg install
pascal@1822 26 }
pascal@1822 27
pascal@1822 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1822 29 genpkg_rules()
pascal@1822 30 {
pascal@1822 31 mkdir -p $fs/usr
pascal@1822 32 cp -a $_pkg/usr/bin $fs/usr
pascal@1822 33 cp -a $_pkg/usr/lib $fs/usr
pascal@1822 34 rm -f $fs/usr/bin/*-config
pascal@1822 35 }
pascal@1822 36