wok-4.x annotate py3k/receipt @ rev 6407
firefox-dev, glew, jclic, libunique-doc, lirc, puzzles, py3k, xlogo: fix DEPENDS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 25 14:16:28 2010 +0200 (2010-09-25) |
parents | d1926bfaec6a |
children | a8538bcee85b |
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@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 |