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

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
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 }