wok-stable annotate epdfview/receipt @ rev 2133
Add libidn
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 02 21:27:38 2009 +0000 (2009-02-02) |
parents | 52dc4b48ed81 |
children | b29c37d68a86 |
rev | line source |
---|---|
pankso@46 | 1 # SliTaz package receipt. |
pankso@46 | 2 |
pankso@46 | 3 PACKAGE="epdfview" |
pankso@46 | 4 VERSION="0.1.6" |
pankso@205 | 5 CATEGORY="office" |
pankso@46 | 6 SHORT_DESC="Lightweight PDF document viewer using Poppler." |
pankso@46 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@46 | 8 DEPENDS="gtk+ poppler" |
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 |