wok annotate python-xdg/receipt @ rev 20190
linux: enable serial console
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 02 17:18:55 2018 +0100 (2018-02-02) |
parents | bf4a09ef1d2e |
children | 52910d6235cf |
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 python setup.py build && |
pascal@15376 | 21 python setup.py install --root=$DESTDIR |
paul@3942 | 22 } |
paul@3942 | 23 |
paul@3942 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3942 | 25 genpkg_rules() |
paul@3942 | 26 { |
paul@3942 | 27 mkdir -p $fs |
pascal@15376 | 28 cp -a $install/usr $fs |
paul@3942 | 29 } |