wok-next annotate python-mygpoclient/receipt @ rev 20113
Add some bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 30 09:29:31 2017 +0100 (2017-10-30) |
parents | 2a5cc8208d36 |
children | 9b3461bf373c |
rev | line source |
---|---|
claudinei@5745 | 1 # SliTaz package receipt. |
claudinei@5745 | 2 |
claudinei@5745 | 3 PACKAGE="python-mygpoclient" |
claudinei@5745 | 4 SOURCE="mygpoclient" |
slaxemulator@7992 | 5 VERSION="1.5" |
claudinei@5745 | 6 CATEGORY="development" |
claudinei@5745 | 7 SHORT_DESC="Python interface to the gpodder.net web services." |
claudinei@5745 | 8 MAINTAINER="claudinei@slitaz.org" |
pascal@15379 | 9 LICENSE="GPL3" |
claudinei@5745 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@5745 | 11 WEB_SITE="http://thpinfo.com/2010/mygpoclient" |
claudinei@5745 | 12 WGET_URL="$WEB_SITE/$TARBALL" |
claudinei@5745 | 13 |
pascal@15379 | 14 DEPENDS="python python-simplejson" |
pascal@15379 | 15 BUILD_DEPENDS="python-dev" |
pascal@15379 | 16 |
claudinei@5745 | 17 # Rules to configure and make the package. |
claudinei@5745 | 18 compile_rules() |
claudinei@5745 | 19 { |
pascal@15379 | 20 python setup.py install --root=$DESTDIR |
claudinei@5745 | 21 } |
claudinei@5745 | 22 |
claudinei@5745 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@5745 | 24 genpkg_rules() |
claudinei@5745 | 25 { |
claudinei@5745 | 26 mkdir -p $fs/usr |
pascal@15379 | 27 cp -a $install/usr/lib $fs/usr |
al@18077 | 28 cp -a $install/usr/bin $fs/usr |
claudinei@5745 | 29 } |