wok-6.x annotate python-cups/receipt @ rev 20145
Rollback Timidity++
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Nov 12 09:57:44 2017 +0000 (2017-11-12) |
parents | 9bedcf1d0076 |
children | 75860e279936 |
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 } |