wok-6.x view python-serial/receipt @ rev 22276
updated xorg-xf86-video-nv (2.1.20 -> 2.1.21)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Nov 13 14:01:24 2019 +0100 (2019-11-13) |
parents | 7d672a2330b8 |
children | 3dd35004b9fe |
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"
13 HOST_ARCH="i486 arm"
15 DEPENDS="python"
16 BUILD_DEPENDS="python-dev python-setuptools"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 for file in `find $install | grep 'pyc$'`; do
28 rm $file
29 done
30 mkdir -p $fs/usr
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib $fs/usr
33 }