wok-stable view python-xdg/receipt @ rev 11641
lostirc: Fix receipt (desktop file should be copied by cook)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Feb 03 14:54:52 2012 +0100 (2012-02-03) |
parents | 67f31a75e196 |
children |
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 }