wok-6.x view python-cups/receipt @ rev 20604

Up linux-libre (3.18.129)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 17 23:42:42 2018 +0100 (2018-12-17)
parents 9bedcf1d0076
children 75860e279936
line source
1 # SliTaz package receipt.
3 PACKAGE="python-cups"
4 SOURCE="pycups"
5 VERSION="1.9.68"
6 CATEGORY="development"
7 SHORT_DESC="Python bindings for libcups."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://pypi.python.org/pypi/$SOURCE"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WGET_URL="https://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
14 DEPENDS="python libcups"
15 BUILD_DEPENDS="wget python-dev cups-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $install/usr $fs
27 }