SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "python-reportlab"

# SliTaz package receipt.

PACKAGE="python-reportlab"
VERSION="2_3"
CATEGORY="development"
SHORT_DESC="PDF generation solution."
MAINTAINER="pascal.bellard@slitaz.org"
SOURCE="ReportLab"
TARBALL="${SOURCE}_$VERSION.tar.gz"
WEB_SITE="http://www.reportlab.org/"
WGET_URL="${WEB_SITE}ftp/$TARBALL"
DEPENDS="python freetype"
BUILD_DEPENDS="python python-dev"

# Rules to configure and make the package.
compile_rules()
{
    ln -s ${SOURCE}_$VERSION $src
    cd $src
    python setup.py build &&
    python setup.py install --root=$PWD/_pkg
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $_pkg/usr $fs
}

clean_wok()
{
    rm -rf ${PACKAGE}_$VERSION
}

# Remove old package.
post_install()
{
    rm -rf $1/var/lib/tazpkg/installed/reportlab
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)