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

Add python-cups
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 01 10:46:23 2014 +0100 (2014-11-01)
parents
children 72404eef4773
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@17304 15 BUILD_DEPENDS="wget python 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 }