wok-6.x annotate wammu/receipt @ rev 15799

fail2ban: update WGET_URL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 19 16:07:24 2014 +0000 (2014-01-19)
parents 7aef52db895d
children 7390f8de9846
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 cd $src
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@11228 31 }