wok-stable view epdfview/receipt @ rev 5446
broadcom-wl: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 05 12:48:19 2010 +0200 (2010-05-05) |
parents | 31c985a0bd3d |
children | 1f20fe47a72b |
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 glib libpng xorg-libXdamage gcc-lib-base"
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"
13 TAGS="pdf viewer"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 --without-cups \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/pixmaps
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/share/epdfview $fs/usr/share
35 cd $fs/usr/share/pixmaps
36 rm ../epdfview/pixmaps/icon_epdfview-24.png
37 rm ../epdfview/pixmaps/icon_epdfview-48.png
38 ln -s ../epdfview/pixmaps/icon_epdfview-32.png epdfview.png
39 }