wok annotate python-xlib/receipt @ rev 12873

ario: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 25 10:20:55 2012 +0200 (2012-05-25)
parents
children bf4a09ef1d2e
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@11214 6 SHORT_DESC="X client library for Python programs. ."
pascal@11214 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@11214 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@11214 9 WEB_SITE="http://$PACKAGE.sourceforge.net/"
pascal@11214 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@11214 11
pascal@11214 12 DEPENDS="python"
pascal@11214 13 BUILD_DEPENDS="python"
pascal@11214 14
pascal@11214 15 # Rules to configure and make the package.
pascal@11214 16 compile_rules()
pascal@11214 17 {
pascal@11214 18 cd $src
pascal@11214 19 python ./setup.py install --root=$DESTDIR
pascal@11214 20 }
pascal@11214 21
pascal@11214 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11214 23 genpkg_rules()
pascal@11214 24 {
pascal@11214 25 cp -a $_pkg/usr $fs
pascal@11214 26 }