wok-6.x annotate py-asterisk/receipt @ rev 18527
gettext-tools: typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 27 01:25:04 2015 +0200 (2015-10-27) |
parents | bf4a09ef1d2e |
children |
rev | line source |
---|---|
pascal@14439 | 1 # SliTaz package receipt. |
pascal@14439 | 2 |
pascal@14439 | 3 PACKAGE="py-asterisk" |
pascal@14439 | 4 SOURCE="py-Asterisk" |
pascal@14439 | 5 VERSION="0.5.1" |
pascal@14439 | 6 CATEGORY="development" |
pascal@14439 | 7 SHORT_DESC="Python bindings for the Asterisk Manager API." |
pascal@14439 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15376 | 9 LICENSE="MIT" |
pascal@14439 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@14439 | 11 WEB_SITE="http://code.google.com/p/py-asterisk/" |
pascal@14439 | 12 WGET_URL="http://pypi.python.org/packages/source/p/$SOURCE/$TARBALL" |
pascal@14439 | 13 |
pascal@14439 | 14 DEPENDS="python" |
pascal@14439 | 15 BUILD_DEPENDS="python-dev python" |
pascal@14439 | 16 |
pascal@14439 | 17 # Rules to configure and make the package. |
pascal@14439 | 18 compile_rules() |
pascal@14439 | 19 { |
pascal@14439 | 20 python setup.py build && |
pascal@14439 | 21 python setup.py install --root=$DESTDIR |
pascal@14439 | 22 } |
pascal@14439 | 23 |
pascal@14439 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14439 | 25 genpkg_rules() |
pascal@14439 | 26 { |
pascal@14439 | 27 mkdir -p $fs |
pascal@14439 | 28 cp -a $install/usr $fs |
pascal@14439 | 29 } |