SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libgnomeprint"

# SliTaz package receipt.

PACKAGE="libgnomeprint"
VERSION="2.18.8"
CATEGORY="x-window"
SHORT_DESC="GNOME print library"
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.gnome.org/"
WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"

DEPENDS="gtk+ popt libxml2 libart_lgpl"
BUILD_DEPENDS="pkg-config glib-dev pango-dev intltool flex libart_lgpl-dev"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure \
        --with-html-dir=/usr/share/doc \
        --without-cups \
        $CONFIGURE_ARGS &&
    make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib $fs/usr/share/locale
    
    # Copy shared libs
    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
    
    cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
    
    # Remove static libs
    rm $fs/usr/lib/$PACKAGE/$VERSION/modules/*.*a
    rm $fs/usr/lib/$PACKAGE/$VERSION/modules/*/*.*a
}

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