wok-next annotate python-tweepy/receipt @ rev 15689
Fix dpkg receipt
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Dec 21 07:57:52 2013 +0100 (2013-12-21) |
parents | 36bf70b8fdf9 |
children | 7390f8de9846 |
rev | line source |
---|---|
paul@13223 | 1 # SliTaz package receipt. |
paul@13223 | 2 |
paul@13223 | 3 PACKAGE="python-tweepy" |
paul@13223 | 4 VERSION="1.10" |
paul@13223 | 5 CATEGORY="development" |
paul@13223 | 6 SHORT_DESC="Twitter library for python." |
paul@13223 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15376 | 8 LICENSE="MIT" |
paul@13223 | 9 SOURCE="tweepy" |
paul@13223 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
paul@13223 | 11 WEB_SITE="https://github.com/tweepy/tweepy" |
paul@13223 | 12 WGET_URL="http://pypi.python.org/packages/source/t/$SOURCE/$TARBALL" |
pascal@15376 | 13 TAGS="python" |
pascal@15376 | 14 |
paul@13223 | 15 DEPENDS="python" |
paul@13223 | 16 BUILD_DEPENDS="python python-dev setuptools" |
paul@13223 | 17 |
paul@13223 | 18 # Rules to configure and make the package. |
paul@13223 | 19 compile_rules() |
paul@13223 | 20 { |
paul@13223 | 21 cd $src |
pascal@15376 | 22 python setup.py install --root=$DESTDIR |
paul@13223 | 23 } |
paul@13223 | 24 |
paul@13223 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@13223 | 26 genpkg_rules() |
paul@13223 | 27 { |
pascal@15376 | 28 cp -a $install/usr $fs |
paul@13223 | 29 } |
paul@13223 | 30 |