wok-next annotate python-mygpoclient/receipt @ rev 17721
geoip: hide false positive
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 05 17:23:10 2015 +0100 (2015-03-05) |
parents | 8ee7c7081850 |
children | 16df76e1fc6a |
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 { |
claudinei@5745 | 20 cd $src |
pascal@15379 | 21 python setup.py install --root=$DESTDIR |
claudinei@5745 | 22 } |
claudinei@5745 | 23 |
claudinei@5745 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@5745 | 25 genpkg_rules() |
claudinei@5745 | 26 { |
claudinei@5745 | 27 mkdir -p $fs/usr |
pascal@15379 | 28 cp -a $install/usr/lib $fs/usr |
pascal@15379 | 29 cp -a $install/usr/bin $fs/usr |
claudinei@5745 | 30 } |