wok-stable view epdfview/receipt @ rev 429

Sync Slim theme with slitaz-configs
author Christophe Lincoln <pankso@slitaz.org>
date Thu Mar 13 21:22:30 2008 +0100 (2008-03-13)
parents de8dad81f96a
children c2f0c4bc32ae
line source
1 # SliTaz package receipt.
3 PACKAGE="epdfview"
4 VERSION="0.1.6"
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"
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 --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/locale $fs/usr/share/pixmaps
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/share/epdfview $fs/usr/share
30 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
31 strip -s $fs/usr/bin/*
32 cd $fs/usr/share/pixmaps
33 ln -s ../epdfview/pixmaps/icon_epdfview-48.png epdfview.png
34 }