wok-current view python-pyliblzma/receipt @ rev 24307

slitaz-boot-scripts: update
author Richard Dunbar <mojo@slitaz.org>
date Mon Jan 17 12:42:24 2022 -0500 (2022-01-17)
parents 7390f8de9846
children 104a2a2e5484
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 python-setuptools"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
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 }