wok annotate sip/receipt @ rev 7595
mirror-tools: add scm
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 11 12:04:25 2010 +0100 (2010-12-11) |
parents | d3d4b6a07d95 |
children | 942c7ccb4a28 |
rev | line source |
---|---|
allan316@3295 | 1 # SliTaz package receipt. |
allan316@3295 | 2 |
allan316@3295 | 3 PACKAGE="sip" |
slaxemulator@6935 | 4 VERSION="4.11.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 |