# HG changeset patch # User Pascal Bellard # Date 1439912184 -7200 # Node ID 2cb7cffdef6423c2b1abaa7b8af37a2fe338e39f # Parent 3d374866b17a23670cd0b44699507cbf722632a2 Add python-pyserial diff -r 3d374866b17a -r 2cb7cffdef64 python-pyserial/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pyserial/receipt Tue Aug 18 17:36:24 2015 +0200 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="python-pyserial" +SOURCE="pyserial" +VERSION="2.7" +CATEGORY="development" +SHORT_DESC="Python Serial Port Extension." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="PSL" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="https://pypi.python.org/pypi/pyserial" +WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" + +DEPENDS="python" +BUILD_DEPENDS="python" + +# Rules to configure and make the package. +compile_rules() +{ + python setup.py build && + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/usr $fs +}