wok-current annotate python-asterisk/receipt @ rev 14970
Up: firefox-langpack-pt_BR (17.0.8esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 22:20:02 2013 +0200 (2013-08-08) |
parents | |
children | fd4f1e692109 |
rev | line source |
---|---|
pascal@14500 | 1 # SliTaz package receipt. |
pascal@14500 | 2 |
pascal@14500 | 3 PACKAGE="python-asterisk" |
pascal@14500 | 4 SOURCE="py-Asterisk" |
pascal@14500 | 5 VERSION="0.5.1" |
pascal@14500 | 6 CATEGORY="development" |
pascal@14500 | 7 SHORT_DESC="Python bindings for the Asterisk Manager API." |
pascal@14500 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14500 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@14500 | 10 WEB_SITE="http://code.google.com/p/py-asterisk/" |
pascal@14500 | 11 WGET_URL="http://pypi.python.org/packages/source/p/$SOURCE/$TARBALL" |
pascal@14500 | 12 |
pascal@14500 | 13 DEPENDS="python" |
pascal@14500 | 14 BUILD_DEPENDS="python-dev python" |
pascal@14500 | 15 |
pascal@14500 | 16 # Rules to configure and make the package. |
pascal@14500 | 17 compile_rules() |
pascal@14500 | 18 { |
pascal@14500 | 19 cd $src |
pascal@14500 | 20 python setup.py build && |
pascal@14500 | 21 python setup.py install --root=$DESTDIR |
pascal@14500 | 22 } |
pascal@14500 | 23 |
pascal@14500 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14500 | 25 genpkg_rules() |
pascal@14500 | 26 { |
pascal@14500 | 27 mkdir -p $fs |
pascal@14500 | 28 cp -a $install/usr $fs |
pascal@14500 | 29 } |