wok-next annotate epdfview/receipt @ rev 4374
pyneighborhood: fix depends and desktop.file
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Oct 11 13:25:38 2009 +0000 (2009-10-11) |
parents | ecb146e32c08 |
children | 31c985a0bd3d |
rev | line source |
---|---|
pankso@46 | 1 # SliTaz package receipt. |
pankso@46 | 2 |
pankso@46 | 3 PACKAGE="epdfview" |
pankso@2360 | 4 VERSION="0.1.7" |
pankso@205 | 5 CATEGORY="office" |
pankso@46 | 6 SHORT_DESC="Lightweight PDF document viewer using Poppler." |
pankso@46 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2514 | 8 DEPENDS="gtk+ poppler glib libpng xorg-libXdamage" |
pascal@1514 | 9 BUILD_DEPENDS="gtk+-dev poppler-dev poppler" |
pankso@46 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@46 | 11 WEB_SITE="http://trac.emma-soft.com/epdfview/" |
pankso@46 | 12 WGET_URL="http://trac.emma-soft.com/epdfview/chrome/site/releases/$TARBALL" |
pankso@46 | 13 |
pankso@46 | 14 # Rules to configure and make the package. |
pankso@46 | 15 compile_rules() |
pankso@46 | 16 { |
pankso@46 | 17 cd $src |
pankso@671 | 18 ./configure \ |
pankso@671 | 19 --prefix=/usr \ |
pankso@671 | 20 --infodir=/usr/share/info \ |
pankso@671 | 21 --mandir=/usr/share/man \ |
sygne@1681 | 22 --without-cups \ |
pascal@1514 | 23 $CONFIGURE_ARGS && |
pascal@1514 | 24 make && |
pankso@46 | 25 make DESTDIR=$PWD/_pkg install |
pankso@46 | 26 } |
pankso@46 | 27 |
pankso@46 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@46 | 29 genpkg_rules() |
pankso@46 | 30 { |
pankso@671 | 31 mkdir -p $fs/usr/share/pixmaps |
pankso@46 | 32 cp -a $_pkg/usr/bin $fs/usr |
pankso@46 | 33 cp -a $_pkg/usr/share/epdfview $fs/usr/share |
pankso@682 | 34 cd $fs/usr/share/pixmaps |
pankso@682 | 35 rm ../epdfview/pixmaps/icon_epdfview-24.png |
pankso@682 | 36 rm ../epdfview/pixmaps/icon_epdfview-48.png |
pankso@671 | 37 ln -s ../epdfview/pixmaps/icon_epdfview-32.png epdfview.png |
pankso@46 | 38 } |
pankso@46 | 39 |