wok annotate wammu/receipt @ rev 18552
Up slitaz-tools(952)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 07 22:01:33 2015 +0200 (2015-11-07) |
parents | 7896f0694ef6 |
children | f1667987074c |
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@15002 | 8 LICENSE="GPL2" |
pascal@11228 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@11228 | 10 WEB_SITE="http://wammu.eu/wammu/" |
pascal@11228 | 11 WGET_URL="$SF_MIRROR/gammu/$PACKAGE/$VERSION/$TARBALL" |
pascal@11228 | 12 |
pascal@15002 | 13 DEPENDS="gammu python python-pybluez wxpython" |
pascal@15002 | 14 BUILD_DEPENDS="$DEPENDS gammu-dev python-dev wxpython-dev" |
pascal@15002 | 15 |
pascal@11228 | 16 # Rules to configure and make the package. |
pascal@11228 | 17 compile_rules() |
pascal@11228 | 18 { |
pascal@11228 | 19 python setup.py build && |
pascal@15002 | 20 python setup.py install --root=$DESTDIR |
pascal@11228 | 21 } |
pascal@11228 | 22 |
pascal@11228 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11228 | 24 genpkg_rules() |
pascal@11228 | 25 { |
pascal@11228 | 26 mkdir -p $fs/usr/share |
pascal@15002 | 27 cp -a $install/usr/bin $fs/usr |
pascal@15002 | 28 cp -a $install/usr/lib $fs/usr |
pascal@15002 | 29 cp -a $install/usr/share/Wammu $fs/usr/share |
pascal@11228 | 30 } |