rev |
line source |
paul@3942
|
1 # SliTaz package receipt.
|
paul@3942
|
2
|
paul@3942
|
3 PACKAGE="python-xdg"
|
slaxemulator@6277
|
4 VERSION="0.19"
|
paul@3942
|
5 CATEGORY="development"
|
paul@3942
|
6 SHORT_DESC="Python library to access freedesktop.org standards."
|
paul@3942
|
7 MAINTAINER="paul@slitaz.org"
|
paul@3942
|
8 DEPENDS="python"
|
paul@3942
|
9 BUILD_DEPENDS="python python-dev"
|
paul@3942
|
10 SOURCE="pyxdg"
|
paul@3942
|
11 TARBALL="$SOURCE-$VERSION.tar.gz"
|
paul@3942
|
12 WEB_SITE="http://www.freedesktop.org/wiki/Software/pyxdg"
|
paul@3942
|
13 WGET_URL="http://www.freedesktop.org/~lanius/$TARBALL"
|
paul@3942
|
14
|
paul@3942
|
15 # Rules to configure and make the package.
|
paul@3942
|
16 compile_rules()
|
paul@3942
|
17 {
|
paul@3942
|
18 cd $src
|
paul@3942
|
19 python setup.py build &&
|
paul@3942
|
20 python setup.py install --root=$PWD/_pkg
|
paul@3942
|
21 }
|
paul@3942
|
22
|
paul@3942
|
23 # Rules to gen a SliTaz package suitable for Tazpkg.
|
paul@3942
|
24 genpkg_rules()
|
paul@3942
|
25 {
|
paul@3942
|
26 mkdir -p $fs
|
paul@3942
|
27 cp -a $_pkg/usr $fs
|
paul@3942
|
28 }
|
paul@3942
|
29
|