wok-next annotate python-pyliblzma/receipt @ rev 16646
gnome-vfs-dev: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 13 06:18:31 2014 +0000 (2014-05-13) |
parents | a7f918cb00d1 |
children | 7390f8de9846 |
rev | line source |
---|---|
pascal@14376 | 1 # SliTaz package receipt. |
pascal@14376 | 2 |
pascal@14376 | 3 PACKAGE="python-pyliblzma" |
pascal@14376 | 4 VERSION="0.5.3" |
pascal@14376 | 5 CATEGORY="development" |
pascal@14376 | 6 SHORT_DESC="A Python wrapper for the liblzma library." |
pascal@14376 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14997 | 8 LICENSE="LGPL3" |
pascal@14376 | 9 SOURCE="pyliblzma" |
pascal@14376 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@14376 | 11 WEB_SITE="http://pypi.python.org/pypi/pyliblzma" |
pascal@14376 | 12 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@14376 | 13 |
pascal@14376 | 14 DEPENDS="liblzma python" |
pascal@14376 | 15 BUILD_DEPENDS="liblzma-dev python-dev setuptools" |
pascal@14376 | 16 |
pascal@14376 | 17 # Rules to configure and make the package. |
pascal@14376 | 18 compile_rules() |
pascal@14376 | 19 { |
pascal@14376 | 20 cd $src |
pascal@14376 | 21 python setup.py build |
pascal@14376 | 22 python setup.py install --root=$DESTDIR |
pascal@14376 | 23 } |
pascal@14376 | 24 |
pascal@14376 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14376 | 26 genpkg_rules() |
pascal@14376 | 27 { |
pascal@14376 | 28 mkdir -p $fs/usr |
pascal@14376 | 29 cp -a $install/usr/lib $fs/usr |
pascal@14376 | 30 } |
pascal@14376 | 31 |