wok-current view py-asterisk/receipt @ rev 17437
slitaz-boot-scripts: install required slitaz-arm-configs in ARM case
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sun Dec 07 19:35:57 2014 -0500 (2014-12-07) |
parents | 3dd4f615ee42 |
children | 16df76e1fc6a |
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 LICENSE="MIT"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://code.google.com/p/py-asterisk/"
12 WGET_URL="http://pypi.python.org/packages/source/p/$SOURCE/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-dev python"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 python setup.py build &&
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs
29 cp -a $install/usr $fs
30 }