wok-6.x annotate python-pyserial/receipt @ rev 19481
Add picard
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 02 03:55:15 2016 +0200 (2016-11-02) |
parents | |
children | f2abfbf087ed |
rev | line source |
---|---|
pascal@18301 | 1 # SliTaz package receipt. |
pascal@18301 | 2 |
pascal@18301 | 3 PACKAGE="python-pyserial" |
pascal@18301 | 4 SOURCE="pyserial" |
pascal@18301 | 5 VERSION="2.7" |
pascal@18301 | 6 CATEGORY="development" |
pascal@18301 | 7 SHORT_DESC="Python Serial Port Extension." |
pascal@18301 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18301 | 9 LICENSE="PSL" |
pascal@18301 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@18301 | 11 WEB_SITE="https://pypi.python.org/pypi/pyserial" |
pascal@18301 | 12 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@18301 | 13 |
pascal@18301 | 14 DEPENDS="python" |
pascal@18301 | 15 BUILD_DEPENDS="python" |
pascal@18301 | 16 |
pascal@18301 | 17 # Rules to configure and make the package. |
pascal@18301 | 18 compile_rules() |
pascal@18301 | 19 { |
pascal@18301 | 20 python setup.py build && |
pascal@18301 | 21 python setup.py install --root=$DESTDIR |
pascal@18301 | 22 } |
pascal@18301 | 23 |
pascal@18301 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18301 | 25 genpkg_rules() |
pascal@18301 | 26 { |
pascal@18301 | 27 cp -a $install/usr $fs |
pascal@18301 | 28 } |