wok annotate wammu/receipt @ rev 13153
zerobin: add purge.sh (for crontab)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 16 10:19:42 2012 +0200 (2012-07-16) |
parents | |
children | 7896f0694ef6 |
rev | line source |
---|---|
pascal@11228 | 1 # SliTaz package receipt. |
pascal@11228 | 2 |
pascal@11228 | 3 PACKAGE="wammu" |
pascal@11228 | 4 VERSION="0.33" |
pascal@11228 | 5 CATEGORY="system-tools" |
pascal@11228 | 6 SHORT_DESC="Wammu is mobile phone manage." |
pascal@11228 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@11228 | 8 DEPENDS="gammu python python-pybluez wxpython" |
pascal@11228 | 9 BUILD_DEPENDS="$DEPENDS gammu-dev python-dev wxpython-dev" |
pascal@11228 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@11228 | 11 WEB_SITE="http://wammu.eu/wammu/" |
pascal@11228 | 12 WGET_URL="$SF_MIRROR/gammu/$PACKAGE/$VERSION/$TARBALL" |
pascal@11228 | 13 |
pascal@11228 | 14 # Rules to configure and make the package. |
pascal@11228 | 15 compile_rules() |
pascal@11228 | 16 { |
pascal@11228 | 17 cd $src |
pascal@11228 | 18 python setup.py build && |
pascal@11228 | 19 python setup.py install --root=$PWD/_pkg |
pascal@11228 | 20 } |
pascal@11228 | 21 |
pascal@11228 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11228 | 23 genpkg_rules() |
pascal@11228 | 24 { |
pascal@11228 | 25 mkdir -p $fs/usr/share |
pascal@11228 | 26 cp -a $_pkg/usr/bin $fs/usr |
pascal@11228 | 27 cp -a $_pkg/usr/lib $fs/usr |
pascal@11228 | 28 cp -a $_pkg/usr/share/Wammu $fs/usr/share |
pascal@11228 | 29 } |