SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "foomatic-db"

# SliTaz package receipt.

PACKAGE="foomatic-db"
VERSION="4.0-20101114" 
CATEGORY="system-tools"
SHORT_DESC="Database used by foomatic-db-engine to generate PPD files"
MAINTAINER="jozee@slitaz.org"
DEPENDS="ghostscript perl libxml2"
BUILD_DEPENDS="ghostscript-dev cups-dev perl libxml2-dev"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.linuxprinting.org/foomatic.html"
WGET_URL="http://www.openprinting.org/download/foomatic/$TARBALL"
TAGS="printer driver printing"

# Rules to configure and make the package.
compile_rules()
{
    mv $WOK/$PACKAGE/$PACKAGE* $WOK/$PACKAGE/$PACKAGE-$VERSION
    cd $src
    ./configure \
        --prefix=/usr \
        --sysconfdir=/etc \
        $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$PWD/_pkg install
    
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr    
    cp -a $_pkg/usr/share $fs/usr    
    
    # remove unzipped ppd files
    find $fs/usr/share/foomatic/db/source/PPD -name "*.ppd" -exec rm -f '{}' 2>/dev/null \;
}

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