wok-next view python-asterisk/receipt @ rev 18665

Up tazpkg(882)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 04 05:36:22 2015 +0200 (2015-12-04)
parents fd4f1e692109
children 8cad5edc1a45
line source
1 # SliTaz package receipt.
3 PACKAGE="python-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 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 }