wok-current view wammu/receipt @ rev 13411

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