wok diff python-gammu/receipt @ rev 19913

Add python-gammu
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 13 15:25:07 2017 +0200 (2017-04-13)
parents
children e6ec256b965e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-gammu/receipt	Thu Apr 13 15:25:07 2017 +0200
     1.3 @@ -0,0 +1,27 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="python-gammu"
     1.7 +VERSION="2.7"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Python bindings for Gammu"
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="https://wammu.eu/python-gammu/"
    1.14 +WGET_URL="https://github.com/gammu/$PACKAGE/archive/$VERSION.tar.gz"
    1.15 +
    1.16 +DEPENDS="python gammu"
    1.17 +BUILD_DEPENDS="python-dev gammu-dev pkg-config"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	python setup.py build &&
    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 +	cp -a $install/usr $fs
    1.30 +}