# HG changeset patch # User Pascal Bellard # Date 1366887379 -7200 # Node ID 3dd4f615ee429cf4564fbe18a2ca9e6bbe15c6c1 # Parent 5ae3fce966044b79018d98be4f90604dae9d3512 Add py-asterisk diff -r 5ae3fce96604 -r 3dd4f615ee42 py-asterisk/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/py-asterisk/receipt Thu Apr 25 12:56:19 2013 +0200 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="py-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 +}