wok-next view python-xlib/receipt @ rev 20424

linux-dev: move creation to compile_rules(), keep genpkg_rules() for copying/splitting only
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jan 12 17:02:57 2018 +0200 (2018-01-12)
parents fd4f1e692109
children 92698cd69f34
line source
1 # SliTaz package receipt.
3 PACKAGE="python-xlib"
4 VERSION="0.15rc1"
5 CATEGORY="development"
6 SHORT_DESC="X client library for Python programs."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://$PACKAGE.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="python"
14 BUILD_DEPENDS="python"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 python ./setup.py install --root=$DESTDIR
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 cp -a $install/usr $fs
26 }