wok-6.x view 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 |
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 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 }