wok annotate wammu/receipt @ rev 20566

tcc: force arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 12 23:37:24 2018 +0100 (2018-12-12)
parents f1667987074c
children a78610b2eb47
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@11228 10 WEB_SITE="http://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 }