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

wqy-microhei, wqy-bitmapfont: fix genpkg_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 15:45:23 2011 +0100 (2011-03-04)
parents 67f31a75e196
children bf4a09ef1d2e
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 DEPENDS="python"
9 BUILD_DEPENDS="python python-dev"
10 SOURCE="pyxdg"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://www.freedesktop.org/wiki/Software/pyxdg"
13 WGET_URL="http://www.freedesktop.org/~lanius/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py build &&
20 python setup.py install --root=$PWD/_pkg
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs
27 cp -a $_pkg/usr $fs
28 }