wok-next annotate python-mygpoclient/receipt @ rev 5969
Add: unrar 0.0.1
author | Antoine Bodin <gokhlayeh@mailoo.org> |
---|---|
date | Fri Aug 06 19:23:43 2010 +0200 (2010-08-06) |
parents | bd6154dc6735 |
children | 8ee7c7081850 |
rev | line source |
---|---|
claudinei@5745 | 1 # SliTaz package receipt. |
claudinei@5745 | 2 |
claudinei@5745 | 3 PACKAGE="python-mygpoclient" |
claudinei@5745 | 4 SOURCE="mygpoclient" |
claudinei@5745 | 5 VERSION="1.4" |
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" |
claudinei@5745 | 9 DEPENDS="python python-simplejson" |
claudinei@5745 | 10 BUILD_DEPENDS="python-dev" |
claudinei@5745 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@5745 | 12 WEB_SITE="http://thpinfo.com/2010/mygpoclient" |
claudinei@5745 | 13 WGET_URL="$WEB_SITE/$TARBALL" |
claudinei@5745 | 14 |
claudinei@5745 | 15 # Rules to configure and make the package. |
claudinei@5745 | 16 compile_rules() |
claudinei@5745 | 17 { |
claudinei@5745 | 18 cd $src |
claudinei@5745 | 19 python setup.py install --root=$PWD/_pkg |
claudinei@5745 | 20 } |
claudinei@5745 | 21 |
claudinei@5745 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@5745 | 23 genpkg_rules() |
claudinei@5745 | 24 { |
claudinei@5745 | 25 mkdir -p $fs/usr |
claudinei@5745 | 26 cp -a $_pkg/usr/lib $fs/usr |
claudinei@5745 | 27 cp -a $_pkg/usr/bin $fs/usr |
claudinei@5745 | 28 } |