wok-current view python-pyliblzma/receipt @ rev 14681
elementary: Up to 1.7.7
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Jun 06 22:09:07 2013 +0200 (2013-06-06) |
parents | |
children | 7d6089953592 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pyliblzma"
4 VERSION="0.5.3"
5 CATEGORY="development"
6 SHORT_DESC="A Python wrapper for the liblzma library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="pyliblzma"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 WEB_SITE="http://pypi.python.org/pypi/pyliblzma"
11 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
13 DEPENDS="liblzma python"
14 BUILD_DEPENDS="liblzma-dev python-dev setuptools"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 python setup.py build
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/lib $fs/usr
29 }