wok-current view evince/receipt @ rev 10184

Up: yajl to 2.0.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 22:41:43 2011 +0000 (2011-05-20)
parents e64bd971b226
children 8308b88235f6
line source
1 # SliTaz package receipt.
3 PACKAGE="evince"
4 VERSION="2.32.0"
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 docbook-xml gnome-icon-theme gtk+-dev intltool"
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 -j1 && make -j1 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 }