# HG changeset patch # User Paul Issott # Date 1250943702 0 # Node ID 3fb934d8069c19249147bc9c83b9589faa387262 # Parent 86f4ba54833813740911fb54fcd46ac4d8a9cb83 Add: python-xdg diff -r 86f4ba548338 -r 3fb934d8069c python-xdg/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-xdg/receipt Sat Aug 22 12:21:42 2009 +0000 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="python-xdg" +VERSION="0.17" +CATEGORY="development" +SHORT_DESC="Python library to access freedesktop.org standards." +MAINTAINER="paul@slitaz.org" +DEPENDS="python" +BUILD_DEPENDS="python python-dev" +SOURCE="pyxdg" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.freedesktop.org/wiki/Software/pyxdg" +WGET_URL="http://www.freedesktop.org/~lanius/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py build && + python setup.py install --root=$PWD/_pkg +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs + cp -a $_pkg/usr $fs +} +