wok-4.x view python-serial/receipt @ rev 6994

Down: tar to 1.23. tar 1.24 thinks your not running configure in root when you are in root.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Oct 30 18:45:58 2010 +0000 (2010-10-30)
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 }