wok-6.x view python-pyliblzma/receipt @ rev 15201

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 07 18:25:02 2013 +0000 (2013-09-07)
parents a7f918cb00d1
children 7390f8de9846
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 LICENSE="LGPL3"
9 SOURCE="pyliblzma"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://pypi.python.org/pypi/pyliblzma"
12 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
14 DEPENDS="liblzma python"
15 BUILD_DEPENDS="liblzma-dev python-dev setuptools"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 python setup.py build
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 }