wok-current view py-asterisk/receipt @ rev 14860
Up: gaupol (0.19)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Mon Jul 22 18:18:34 2013 -0300 (2013-07-22) |
parents | |
children | bf4a09ef1d2e |
line source
1 # SliTaz package receipt.
3 PACKAGE="py-asterisk"
4 SOURCE="py-Asterisk"
5 VERSION="0.5.1"
6 CATEGORY="development"
7 SHORT_DESC="Python bindings for the Asterisk Manager API."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://code.google.com/p/py-asterisk/"
11 WGET_URL="http://pypi.python.org/packages/source/p/$SOURCE/$TARBALL"
13 DEPENDS="python"
14 BUILD_DEPENDS="python-dev python"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 python setup.py build &&
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs
28 cp -a $install/usr $fs
29 }