wok-next diff wammu/receipt @ rev 17523

Add horst
author Paul Issott <paul@slitaz.org>
date Sat Jan 17 19:25:59 2015 +0000 (2015-01-17)
parents 7aef52db895d
children 7390f8de9846
line diff
     1.1 --- a/wammu/receipt	Fri Nov 04 12:36:01 2011 +0100
     1.2 +++ b/wammu/receipt	Sat Jan 17 19:25:59 2015 +0000
     1.3 @@ -5,25 +5,27 @@
     1.4  CATEGORY="system-tools"
     1.5  SHORT_DESC="Wammu is mobile phone manage."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 -DEPENDS="gammu python python-pybluez wxpython"
     1.8 -BUILD_DEPENDS="$DEPENDS gammu-dev python-dev wxpython-dev"
     1.9 +LICENSE="GPL2"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.11  WEB_SITE="http://wammu.eu/wammu/"
    1.12  WGET_URL="$SF_MIRROR/gammu/$PACKAGE/$VERSION/$TARBALL"
    1.13  
    1.14 +DEPENDS="gammu python python-pybluez wxpython"
    1.15 +BUILD_DEPENDS="$DEPENDS gammu-dev python-dev wxpython-dev"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20  	cd $src
    1.21  	python setup.py build &&
    1.22 -	python setup.py install --root=$PWD/_pkg
    1.23 +	python setup.py install --root=$DESTDIR
    1.24  }
    1.25  
    1.26  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.27  genpkg_rules()
    1.28  {
    1.29  	mkdir -p $fs/usr/share
    1.30 -	cp -a $_pkg/usr/bin $fs/usr
    1.31 -	cp -a $_pkg/usr/lib $fs/usr
    1.32 -	cp -a $_pkg/usr/share/Wammu $fs/usr/share
    1.33 +	cp -a $install/usr/bin $fs/usr
    1.34 +	cp -a $install/usr/lib $fs/usr
    1.35 +	cp -a $install/usr/share/Wammu $fs/usr/share
    1.36  }