SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "stoqdrivers"

# SliTaz package receipt.

PACKAGE="stoqdrivers"
VERSION="1.8.1"
CATEGORY="development"
SHORT_DESC="Useful drivers for Stoq and retail systems."
MAINTAINER="claudinei@slitaz.org"
LICENSE="LGPL2.1"
WEB_SITE="https://web.archive.org/web/20150919172113/http://www.stoq.com.br/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/stoq/$PACKAGE/archive/v$VERSION.tar.gz"

SUGGESTED="stoq"
DEPENDS="python python-kiwi python-serial zopeinterface"
BUILD_DEPENDS="python python-dev python-kiwi python-serial zopeinterface"

current_version()
{
    wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    python setup.py install --root=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share/locale/pt

    LOCALEDIR="$install/usr/share/locale"
    for file in `find $install | grep 'pyc$'`
      do
        rm $file
      done
    cp -a $install/usr/lib            $fs/usr
    cp -a $install/usr/share        $fs/usr
    cp -a $LOCALEDIR/pt_BR/LC_MESSAGES    $fs/usr/share/locale/pt
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)