wok-current annotate python-openid/receipt @ rev 15373
smx: apache 2.4 patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 17 16:55:23 2013 +0000 (2013-10-17) |
parents | |
children | 2a5cc8208d36 |
rev | line source |
---|---|
pascal@11773 | 1 # SliTaz package receipt. |
pascal@11773 | 2 |
pascal@11773 | 3 PACKAGE="python-openid" |
pascal@11773 | 4 VERSION="2.2.4" |
pascal@11773 | 5 CATEGORY="development" |
pascal@11773 | 6 SHORT_DESC="OpenID libraries for Python." |
pascal@11773 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@11773 | 8 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz" |
pascal@11773 | 9 WEB_SITE="http://www.janrain.com/openid-enabled/" |
pascal@11773 | 10 WGET_URL="http://ftp.debian.org/debian/pool/main/${PACKAGE:0:1}/$PACKAGE/$TARBALL" |
pascal@11773 | 11 |
pascal@11773 | 12 DEPENDS="python" |
pascal@11773 | 13 BUILD_DEPENDS="python-dev python" |
pascal@11773 | 14 |
pascal@11773 | 15 # Rules to configure and make the package. |
pascal@11773 | 16 compile_rules() |
pascal@11773 | 17 { |
pascal@11773 | 18 cd $src |
pascal@11773 | 19 python setup.py build && |
pascal@11773 | 20 python setup.py install --root=$DESTDIR |
pascal@11773 | 21 } |
pascal@11773 | 22 |
pascal@11773 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11773 | 24 genpkg_rules() |
pascal@11773 | 25 { |
pascal@11773 | 26 mkdir -p $fs |
pascal@11773 | 27 cp -a $_pkg/usr $fs |
pascal@11773 | 28 } |