wok view python-serial/receipt @ rev 4747

Up: espeak (1.42.04)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Jan 08 12:20:47 2010 +0100 (2010-01-08)
parents
children bf4a09ef1d2e
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 }