wok annotate sip/receipt @ rev 10404
libgd: will use hg to get source
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 24 04:19:39 2011 +0200 (2011-05-24) |
parents | 784f14ec0513 |
children | d5d3d87300a7 |
rev | line source |
---|---|
allan316@3295 | 1 # SliTaz package receipt. |
allan316@3295 | 2 |
allan316@3295 | 3 PACKAGE="sip" |
slaxemulator@8618 | 4 VERSION="4.12.1" |
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 } |
allan316@3295 | 30 |