wok-stable view python-serial/receipt @ rev 11386

Compat: ensure that pam WGET_URL is non-https. Otherwise tazwok can't download it at cook-toolchain time
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 10 04:42:49 2011 +0100 (2011-12-10)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="python-serial"
4 SOURCE="pyserial"
5 VERSION="2.5-rc1"
6 CATEGORY="development"
7 SHORT_DESC="Multiplataform serial port module for python"
8 MAINTAINER="claudinei@slitaz.org"
9 DEPENDS="python"
10 BUILD_DEPENDS="python python-dev"
11 TARBALL="$SOURCE-$VERSION.zip"
12 WEB_SITE="http://pyserial.sourceforge.net"
13 WGET_URL="$SF_MIRROR/$SOURCE/2.5/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py install --root=$PWD/_pkg
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 for file in `find $_pkg | grep 'pyc$'`; do
26 rm $file
27 done
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib $fs/usr
31 }