wok-next annotate python-pycups/receipt @ rev 21105
Small updates... "bzip2" and "cairo": follow "libpkg - pkg - pkg-dev" rule
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 04 17:29:48 2019 +0200 (2019-01-04) |
parents | |
children |
rev | line source |
---|---|
al@20972 | 1 # SliTaz package receipt v2. |
al@20972 | 2 |
al@20972 | 3 ORIGIN="pycups" |
al@20972 | 4 PACKAGE="python-pycups" |
al@20972 | 5 VERSION="1.9.73" |
al@20972 | 6 CATEGORY="python" |
al@20972 | 7 SHORT_DESC="Python bindings for libcups" |
al@20972 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
al@20972 | 9 LICENSE="GPL2" |
al@20972 | 10 WEB_SITE="https://pypi.org/project/$ORIGIN/" |
al@20972 | 11 #HOST_ARCH |
al@20972 | 12 REPOLOGY="python:pycups" |
al@20972 | 13 |
al@20972 | 14 BUILD_DEPENDS="python-dev python3-dev cups-dev" |
al@20972 | 15 SPLIT="${PACKAGE/python/python3}:3" |
al@20972 | 16 |
al@20972 | 17 compile_rules() { |
al@20972 | 18 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION |
al@20972 | 19 } |
al@20972 | 20 |
al@20972 | 21 genpkg_rules() { |
al@20972 | 22 copy @std |
al@20972 | 23 py="${PACKAGE%%-*}" # python/python3 |
al@20972 | 24 DEPENDS="$py libcups" |
al@20972 | 25 } |