# SliTaz package receipt. PACKAGE="epdfview" VERSION="0.1.8" CATEGORY="office" SHORT_DESC="Lightweight PDF document viewer using Poppler." MAINTAINER="pankso@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://trac.emma-soft.com/epdfview/" WGET_URL="http://trac.emma-soft.com/epdfview/chrome/site/releases/$TARBALL" TAGS="pdf viewer" DEPENDS="gtk+ poppler glib libpng xorg-libXdamage gcc-lib-base" BUILD_DEPENDS="gtk+-dev poppler-dev poppler" # Rules to configure and make the package. compile_rules() { cd $src patch -Np1 -i $stuff/0001-When-using-Poppler-0.17.0-I-needed-to-swap-the-blue-.patch ./configure \ --without-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 }