wok view evince/receipt @ rev 6517

Up: mpfr, mpfr-dev to 3.0.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Oct 02 14:39:44 2010 +0000 (2010-10-02)
parents b68b4f934ba7
children b90aa6614596
line source
1 # SliTaz package receipt.
3 PACKAGE="evince"
4 VERSION="2.30.3"
5 CATEGORY="office"
6 SHORT_DESC="Document viewer for Gnome"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="lcms poppler tiff dbus-glib"
9 BUILD_DEPENDS="gnome-doc-utils-dev gnome-icon-theme lcms-dev poppler-dev gtk+-dev tiff-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://projects.gnome.org/evince/"
12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/evince/${VERSION%.*}/${TARBALL}"
13 TAGS="viewer pdf tiff ps postscript dvi"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr \
20 --libexecdir=/usr/lib/$PACKAGE \
21 --disable-nautilus \
22 --disable-scrollkeeper \
23 --disable-comics \
24 --without-gconf \
25 --without-keyring \
26 --disable-schemas-install \
27 --disable-gtk-doc-html \
28 --with-help-formats=none \
29 $CONFIGURE_ARGS &&
30 make && make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share $fs/usr/lib
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
39 cp -a $_pkg/usr/lib/evince $fs/usr/lib
41 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
42 cp -a $_pkg/usr/share/icons $fs/usr/share
43 cp -a $_pkg/usr/share/evince $fs/usr/share
45 # Removing unwanted files
46 find $fs/usr/lib -name "*.*a" -exec rm -rf {} \;
47 }