wok-4.x view evince/receipt @ rev 8816
Add: wbar2
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Wed Feb 23 04:37:39 2011 +0100 (2011-02-23) |
parents | d1b138ae6772 |
children | da14a8cdb0bd |
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 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 && 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 }