wok-6.x annotate python-xdg/receipt @ rev 15376
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 18 22:13:53 2013 +0000 (2013-10-18) |
parents | d72a95b9f79a |
children | 7390f8de9846 |
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" |
pascal@15376 | 8 LICENSE="LGPL2" |
paul@3942 | 9 SOURCE="pyxdg" |
paul@3942 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
paul@3942 | 11 WEB_SITE="http://www.freedesktop.org/wiki/Software/pyxdg" |
paul@3942 | 12 WGET_URL="http://www.freedesktop.org/~lanius/$TARBALL" |
paul@3942 | 13 |
pascal@15376 | 14 DEPENDS="python" |
pascal@15376 | 15 BUILD_DEPENDS="python python-dev" |
pascal@15376 | 16 |
paul@3942 | 17 # Rules to configure and make the package. |
paul@3942 | 18 compile_rules() |
paul@3942 | 19 { |
paul@3942 | 20 cd $src |
paul@3942 | 21 python setup.py build && |
pascal@15376 | 22 python setup.py install --root=$DESTDIR |
paul@3942 | 23 } |
paul@3942 | 24 |
paul@3942 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3942 | 26 genpkg_rules() |
paul@3942 | 27 { |
paul@3942 | 28 mkdir -p $fs |
pascal@15376 | 29 cp -a $install/usr $fs |
paul@3942 | 30 } |
paul@3942 | 31 |