wok-next view python-serial/receipt @ rev 20748
Update (b)deps
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed May 30 20:13:48 2018 +0300 (2018-05-30) |
parents | 6c73b944e8dd |
children | 92698cd69f34 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-serial"
4 SOURCE="pyserial"
5 VERSION="2.7"
6 CATEGORY="development"
7 SHORT_DESC="Multiplataform serial port module for python"
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="BSD"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://pyserial.sourceforge.net"
12 WGET_URL="https://pypi.python.org/packages/source/p/pyserial/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 for file in `find $install | grep 'pyc$'`; do
27 rm $file
28 done
29 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib $fs/usr
32 }