wok-4.x annotate py3k/receipt @ rev 5897
Up: py3k (3.1.2)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Jul 23 15:57:48 2010 +0200 (2010-07-23) |
parents | 8fd90285da5e |
children | dc0644f601c0 |
rev | line source |
---|---|
pascal@1822 | 1 # SliTaz package receipt. |
pascal@1822 | 2 |
pascal@1822 | 3 PACKAGE="py3k" |
erjo@5897 | 4 VERSION="3.1.2" |
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" |
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 |