wok-next view python-serial/receipt @ rev 20930

pyaudio -> python-pyaudio
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Aug 23 07:07:52 2018 +0300 (2018-08-23)
parents c4e53a39395a
children 8b5b2a6d07b8
line source
1 # SliTaz package receipt.
3 PACKAGE="python-serial" # this == python-pyserial, to remove
4 VERSION="2.7"
5 CATEGORY="development"
6 SHORT_DESC="Multiplataform serial port module for python"
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://pyserial.sourceforge.net"
10 REPOLOGY="python:pyserial"
12 SOURCE="pyserial"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://pypi.python.org/packages/source/p/pyserial/$TARBALL"
16 DEPENDS="python"
17 BUILD_DEPENDS="python-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 for file in `find $install | grep 'pyc$'`; do
29 rm $file
30 done
31 mkdir -p $fs/usr
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib $fs/usr
34 }