wok annotate python-xlib/receipt @ rev 18086
Rebuild Python packages to remove "*.pyc" files from packages files.lists (part last)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 23 16:17:14 2015 +0300 (2015-05-23) |
parents | fd4f1e692109 |
children | 080c1dff8494 |
rev | line source |
---|---|
pascal@11214 | 1 # SliTaz package receipt. |
pascal@11214 | 2 |
pascal@11214 | 3 PACKAGE="python-xlib" |
pascal@11214 | 4 VERSION="0.15rc1" |
pascal@11214 | 5 CATEGORY="development" |
pascal@15377 | 6 SHORT_DESC="X client library for Python programs." |
pascal@11214 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15378 | 8 LICENSE="GPL" |
pascal@11214 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11214 | 10 WEB_SITE="http://$PACKAGE.sourceforge.net/" |
pascal@11214 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@11214 | 12 |
pascal@11214 | 13 DEPENDS="python" |
pascal@11214 | 14 BUILD_DEPENDS="python" |
pascal@11214 | 15 |
pascal@11214 | 16 # Rules to configure and make the package. |
pascal@11214 | 17 compile_rules() |
pascal@11214 | 18 { |
pascal@11214 | 19 python ./setup.py install --root=$DESTDIR |
pascal@11214 | 20 } |
pascal@11214 | 21 |
al@18086 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18086 | 23 genpkg_rules() |
pascal@11214 | 24 { |
pascal@15376 | 25 cp -a $install/usr $fs |
pascal@11214 | 26 } |