wok-6.x annotate sip/receipt @ rev 5960
gcc: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 05 21:27:52 2010 +0200 (2010-08-05) |
parents | 4897058add72 |
children | d3d4b6a07d95 |
rev | line source |
---|---|
allan316@3295 | 1 # SliTaz package receipt. |
allan316@3295 | 2 |
allan316@3295 | 3 PACKAGE="sip" |
slaxemulator@5771 | 4 VERSION="4.10.2" |
allan316@3295 | 5 CATEGORY="development" |
allan316@3295 | 6 SHORT_DESC="needed for PyQt" |
allan316@3295 | 7 MAINTAINER="allan316@gmail.com" |
pascal@5007 | 8 DEPENDS="python gcc-lib-base" |
allan316@3295 | 9 BUILD_DEPENDS="python-dev" |
allan316@3295 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
allan316@3295 | 11 WEB_SITE="http://www.riverbankcomputing.co.uk" |
allan316@3295 | 12 WGET_URL="$WEB_SITE/static/Downloads/sip4/$TARBALL" |
allan316@3295 | 13 |
allan316@3295 | 14 # Rules to configure and make the package. |
allan316@3295 | 15 compile_rules() |
allan316@3295 | 16 { |
allan316@3295 | 17 cd $src |
allan316@3295 | 18 python configure.py |
pascal@5007 | 19 make && |
allan316@3295 | 20 make DESTDIR=$PWD/_pkg install |
allan316@3295 | 21 } |
allan316@3295 | 22 |
allan316@3295 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3295 | 24 genpkg_rules() |
allan316@3295 | 25 { |
allan316@3295 | 26 mkdir -p $fs/usr |
allan316@3295 | 27 cp -a $_pkg/usr/bin $fs/usr |
allan316@3295 | 28 cp -a $_pkg/usr/lib $fs/usr |
allan316@3295 | 29 strip -s $fs/usr/bin/* |
allan316@3295 | 30 } |
allan316@3295 | 31 |