wok-stable annotate python-serial/receipt @ rev 8052

Up: dmidecode to 2.11.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Jan 20 16:11:01 2011 +0000 (2011-01-20)
parents
children
rev   line source
claudinei@3829 1 # SliTaz package receipt.
claudinei@3829 2
claudinei@3829 3 PACKAGE="python-serial"
claudinei@3829 4 SOURCE="pyserial"
claudinei@3829 5 VERSION="2.5-rc1"
claudinei@3829 6 CATEGORY="development"
claudinei@3829 7 SHORT_DESC="Multiplataform serial port module for python"
claudinei@3829 8 MAINTAINER="claudinei@slitaz.org"
claudinei@3829 9 DEPENDS="python"
claudinei@3829 10 BUILD_DEPENDS="python python-dev"
claudinei@3829 11 TARBALL="$SOURCE-$VERSION.zip"
claudinei@3829 12 WEB_SITE="http://pyserial.sourceforge.net"
claudinei@3829 13 WGET_URL="$SF_MIRROR/$SOURCE/2.5/$TARBALL"
claudinei@3829 14
claudinei@3829 15 # Rules to configure and make the package.
claudinei@3829 16 compile_rules()
claudinei@3829 17 {
claudinei@3829 18 cd $src
claudinei@3829 19 python setup.py install --root=$PWD/_pkg
claudinei@3829 20 }
claudinei@3829 21
claudinei@3829 22 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3829 23 genpkg_rules()
claudinei@3829 24 {
claudinei@3829 25 for file in `find $_pkg | grep 'pyc$'`; do
claudinei@3829 26 rm $file
claudinei@3829 27 done
claudinei@3829 28 mkdir -p $fs/usr
claudinei@3829 29 cp -a $_pkg/usr/bin $fs/usr
claudinei@3829 30 cp -a $_pkg/usr/lib $fs/usr
claudinei@3829 31 }
claudinei@3829 32