wok-next annotate python-xdg/receipt @ rev 5454
Up cups-pam (1.4.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 05 16:51:05 2010 +0200 (2010-05-05) |
parents | 3fb934d8069c |
children | d72a95b9f79a |
rev | line source |
---|---|
paul@3942 | 1 # SliTaz package receipt. |
paul@3942 | 2 |
paul@3942 | 3 PACKAGE="python-xdg" |
paul@4600 | 4 VERSION="0.18" |
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 |