# SliTaz package receipt. PACKAGE="python-xdg" VERSION="0.19" 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 }