wok annotate python-simplejson/receipt @ rev 3400
wpa_supplicant: remove -w invalid option
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jun 12 13:26:26 2009 +0200 (2009-06-12) |
parents | |
children | 43ee1ff86e05 |
rev | line source |
---|---|
claudinei@3394 | 1 # SliTaz package receipt. |
claudinei@3394 | 2 |
claudinei@3394 | 3 PACKAGE="python-simplejson" |
claudinei@3394 | 4 SOURCE="simplejson" |
claudinei@3394 | 5 VERSION="2.0.9" |
claudinei@3394 | 6 CATEGORY="development" |
claudinei@3394 | 7 SHORT_DESC="Simple, fast, extensible JSON encoder/decoder for python." |
claudinei@3394 | 8 MAINTAINER="claudinei@slitaz.org" |
claudinei@3394 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@3394 | 10 WEB_SITE="http://pypi.python.org/pypi/simplejson" |
claudinei@3394 | 11 WGET_URL="http://pypi.python.org/packages/source/s/$SOURCE/$TARBALL" |
claudinei@3394 | 12 DEPENDS="python" |
claudinei@3394 | 13 BUILD_DEPENDS="python-dev" |
claudinei@3394 | 14 |
claudinei@3394 | 15 # Rules to configure and make the package. |
claudinei@3394 | 16 compile_rules() |
claudinei@3394 | 17 { |
claudinei@3394 | 18 cd $src |
claudinei@3394 | 19 python setup.py build |
claudinei@3394 | 20 python setup.py install --root=$PWD/_pkg |
claudinei@3394 | 21 } |
claudinei@3394 | 22 |
claudinei@3394 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3394 | 24 genpkg_rules() |
claudinei@3394 | 25 { |
claudinei@3394 | 26 mkdir -p $fs/usr |
claudinei@3394 | 27 cp -a $_pkg/usr/lib $fs/usr |
claudinei@3394 | 28 } |
claudinei@3394 | 29 |