# HG changeset patch # User Pascal Bellard # Date 1492089907 -7200 # Node ID 2b87dbe5e573ec15fcf2acb6af2adbb1dcab7325 # Parent 3badda504cf7777d61ad37018eb96d56bc8bd41a Add python-gammu diff -r 3badda504cf7 -r 2b87dbe5e573 python-gammu/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-gammu/receipt Thu Apr 13 15:25:07 2017 +0200 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="python-gammu" +VERSION="2.7" +CATEGORY="development" +SHORT_DESC="Python bindings for Gammu" +MAINTAINER="pankso@slitaz.org" +LICENSE="GPL2" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="https://wammu.eu/python-gammu/" +WGET_URL="https://github.com/gammu/$PACKAGE/archive/$VERSION.tar.gz" + +DEPENDS="python gammu" +BUILD_DEPENDS="python-dev gammu-dev pkg-config" + +# Rules to configure and make the package. +compile_rules() +{ + python setup.py build && + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/usr $fs +}