wok-next annotate python-cups/receipt @ rev 18738

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