wok-6.x view python-xdg/receipt @ rev 17429

luafilesystem: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 05 17:51:34 2014 +0100 (2014-12-05)
parents d72a95b9f79a
children 7390f8de9846
line source
1 # SliTaz package receipt.
3 PACKAGE="python-xdg"
4 VERSION="0.19"
5 CATEGORY="development"
6 SHORT_DESC="Python library to access freedesktop.org standards."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="LGPL2"
9 SOURCE="pyxdg"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.freedesktop.org/wiki/Software/pyxdg"
12 WGET_URL="http://www.freedesktop.org/~lanius/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python python-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 python setup.py build &&
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs
29 cp -a $install/usr $fs
30 }