SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "epdfview-cups"

# SliTaz package receipt.

PACKAGE="epdfview-cups"
VERSION="0.1.8"
CATEGORY="office"
SHORT_DESC="Lightweight PDF document viewer using Poppler and Cups."
MAINTAINER="pankso@slitaz.org"
SOURCE="epdfview"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="http://trac.emma-soft.com/epdfview/"
WGET_URL="${WEB_SITE}chrome/site/releases/$TARBALL"
PROVIDE="epdfview:cups"

DEPENDS="gtk+ poppler glib libpng cups xorg-libXdamage gcc-lib-base libcomerr3"
BUILD_DEPENDS="gtk+-dev poppler-dev poppler cups cups-dev"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure \
        --with-cups \
        $CONFIGURE_ARGS &&
    make &&    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share/pixmaps
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/share/epdfview $fs/usr/share
    cd $fs/usr/share/pixmaps
    ln -sf /usr/share/epdfview/pixmaps/icon_epdfview-32.png epdfview.png
}

# Pre install commands for Tazpkg.
pre_install()
{
    [ -x $1/usr/bin/epdfview ] && yes y | tazpkg remove epdfview
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)