wok-6.x annotate wammu/receipt @ rev 21533
backported Bobylev's receipt for consolekit2 from next to cooking
author | Hans-G?nter Theisgen |
---|---|
date | Sun May 05 11:02:08 2019 +0100 (2019-05-05) |
parents | e6ec256b965e |
children | c8fec2a962c1 |
rev | line source |
---|---|
pascal@11228 | 1 # SliTaz package receipt. |
pascal@11228 | 2 |
pascal@11228 | 3 PACKAGE="wammu" |
pascal@19911 | 4 VERSION="0.43" |
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@20669 | 10 WEB_SITE="https://wammu.eu/wammu/" |
pascal@11228 | 11 WGET_URL="$SF_MIRROR/gammu/$PACKAGE/$VERSION/$TARBALL" |
pascal@19911 | 12 TAGS="bluetooth" |
pascal@11228 | 13 |
pascal@19914 | 14 DEPENDS="python-gammu python python-pybluez wxpython" |
pascal@15002 | 15 BUILD_DEPENDS="$DEPENDS gammu-dev python-dev wxpython-dev" |
pascal@15002 | 16 |
pascal@11228 | 17 # Rules to configure and make the package. |
pascal@11228 | 18 compile_rules() |
pascal@11228 | 19 { |
pascal@11228 | 20 python setup.py build && |
pascal@15002 | 21 python setup.py install --root=$DESTDIR |
pascal@11228 | 22 } |
pascal@11228 | 23 |
pascal@11228 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11228 | 25 genpkg_rules() |
pascal@11228 | 26 { |
pascal@11228 | 27 mkdir -p $fs/usr/share |
pascal@15002 | 28 cp -a $install/usr/bin $fs/usr |
pascal@15002 | 29 cp -a $install/usr/lib $fs/usr |
pascal@15002 | 30 cp -a $install/usr/share/Wammu $fs/usr/share |
pascal@19914 | 31 cp -a $install/usr/share/locale $fs/usr/share |
pascal@11228 | 32 } |