wok-current view python-cups/receipt @ rev 23946

syslinux/taziso: add plop support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 20 14:15:26 2020 +0000 (2020-09-20)
parents 72404eef4773
children 104a2a2e5484
line source
1 # SliTaz package receipt.
3 PACKAGE="python-cups"
4 VERSION="1.9.74"
5 CATEGORY="development"
6 SHORT_DESC="Python bindings for libcups."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://pypi.python.org/pypi/pycups"
11 SOURCE="pycups"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
15 DEPENDS="libcups python"
16 BUILD_DEPENDS="cups-dev python-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/usr $fs
28 }