wok annotate python-oauth2/receipt @ rev 18725
lynis 2.1.1: fix: installs in /usr/share/lynis but can not be found, trying /usr/local/share (as in example on dev website)
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Fri Dec 18 13:20:19 2015 +0000 (2015-12-18) |
parents | fd4f1e692109 |
children | 814362194a8d |
rev | line source |
---|---|
paul@13222 | 1 # SliTaz package receipt. |
paul@13222 | 2 |
paul@13222 | 3 PACKAGE="python-oauth2" |
paul@13222 | 4 VERSION="1.5.211" |
paul@13222 | 5 CATEGORY="development" |
paul@13222 | 6 SHORT_DESC="Library for OAuth version 1.0." |
paul@13222 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15378 | 8 LICENSE="MIT" |
paul@13222 | 9 SOURCE="oauth2" |
paul@13222 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
paul@13222 | 11 WEB_SITE="https://github.com/simplegeo/python-oauth2" |
paul@13222 | 12 WGET_URL="http://pypi.python.org/packages/source/o/$SOURCE/$TARBALL" |
pascal@15378 | 13 TAGS="python" |
pascal@15378 | 14 |
paul@13222 | 15 DEPENDS="python" |
paul@13222 | 16 BUILD_DEPENDS="python python-dev setuptools" |
paul@13222 | 17 |
paul@13222 | 18 # Rules to configure and make the package. |
paul@13222 | 19 compile_rules() |
paul@13222 | 20 { |
pascal@15378 | 21 python setup.py install --root=$DESTDIR |
paul@13222 | 22 } |
paul@13222 | 23 |
paul@13222 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@13222 | 25 genpkg_rules() |
paul@13222 | 26 { |
pascal@15378 | 27 cp -a $install/usr $fs |
paul@13222 | 28 } |