wok-6.x annotate sip/receipt @ rev 4609
libv4l: add LD_PREPLOAD trick to /etc/profile
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Dec 15 16:42:43 2009 +0000 (2009-12-15) |
parents | |
children | 4897058add72 |
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" |
allan316@3295 | 8 DEPENDS="python" |
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 |
allan316@3295 | 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 |