SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "python-serial"

# SliTaz package receipt.

PACKAGE="python-serial"
SOURCE="pyserial"
VERSION="2.5-rc1"
CATEGORY="development"
SHORT_DESC="Multiplataform serial port module for python"
MAINTAINER="claudinei@slitaz.org"
DEPENDS="python"
BUILD_DEPENDS="python python-dev"
TARBALL="$SOURCE-$VERSION.zip"
WEB_SITE="http://pyserial.sourceforge.net"
WGET_URL="$SF_MIRROR/$SOURCE/2.5/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    python setup.py install --root=$PWD/_pkg
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    for file in `find $_pkg | grep 'pyc$'`; do
        rm $file
    done
    mkdir -p $fs/usr
    cp -a $_pkg/usr/bin $fs/usr
    cp -a $_pkg/usr/lib $fs/usr
}

3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)