wok-next view epdfview/receipt @ rev 2442
Add libhx
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 13 11:27:30 2009 +0000 (2009-03-13) |
parents | 427de5ee0cb8 |
children | ecb146e32c08 |
line source
1 # SliTaz package receipt.
3 PACKAGE="epdfview"
4 VERSION="0.1.7"
5 CATEGORY="office"
6 SHORT_DESC="Lightweight PDF document viewer using Poppler."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ poppler"
9 BUILD_DEPENDS="gtk+-dev poppler-dev poppler"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://trac.emma-soft.com/epdfview/"
12 WGET_URL="http://trac.emma-soft.com/epdfview/chrome/site/releases/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 --without-cups \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/pixmaps
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share/epdfview $fs/usr/share
34 cd $fs/usr/share/pixmaps
35 rm ../epdfview/pixmaps/icon_epdfview-24.png
36 rm ../epdfview/pixmaps/icon_epdfview-48.png
37 ln -s ../epdfview/pixmaps/icon_epdfview-32.png epdfview.png
38 }