wok-current annotate sip/receipt @ rev 5293
Up: libdrm (2.4.20)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 18 22:47:15 2010 +0200 (2010-04-18) |
parents | 088e7475acf1 |
children | bc5b14d1f2df |
rev | line source |
---|---|
allan316@3295 | 1 # SliTaz package receipt. |
allan316@3295 | 2 |
allan316@3295 | 3 PACKAGE="sip" |
allan316@3295 | 4 VERSION="4.8" |
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 |