wok diff wammu/receipt @ rev 11904

cyrus-imapd: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 29 20:32:37 2012 +0100 (2012-02-29)
parents
children 7896f0694ef6
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/wammu/receipt	Wed Feb 29 20:32:37 2012 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="wammu"
     1.7 +VERSION="0.33"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Wammu is mobile phone manage."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="gammu python python-pybluez wxpython"
    1.12 +BUILD_DEPENDS="$DEPENDS gammu-dev python-dev wxpython-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://wammu.eu/wammu/"
    1.15 +WGET_URL="$SF_MIRROR/gammu/$PACKAGE/$VERSION/$TARBALL"
    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 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr/share
    1.29 +	cp -a $_pkg/usr/bin $fs/usr
    1.30 +	cp -a $_pkg/usr/lib $fs/usr
    1.31 +	cp -a $_pkg/usr/share/Wammu $fs/usr/share
    1.32 +}