# HG changeset patch # User Pascal Bellard # Date 1368286052 -7200 # Node ID 83841109a52136c8852955230e9cc1c33aac55f8 # Parent 000d5c4906fc57efaad36ea74e41bc574cba922c Add python-asterisk diff -r 000d5c4906fc -r 83841109a521 python-asterisk/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-asterisk/receipt Sat May 11 17:27:32 2013 +0200 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="python-asterisk" +SOURCE="py-Asterisk" +VERSION="0.5.1" +CATEGORY="development" +SHORT_DESC="Python bindings for the Asterisk Manager API." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://code.google.com/p/py-asterisk/" +WGET_URL="http://pypi.python.org/packages/source/p/$SOURCE/$TARBALL" + +DEPENDS="python" +BUILD_DEPENDS="python-dev python" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py build && + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs + cp -a $install/usr $fs +}