wok view evince/receipt @ rev 9709
gcc: keep -mtune it was $BUILD_HOST to remove
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 08 20:54:33 2011 +0200 (2011-05-08) |
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 }