wok view evince/receipt @ rev 20257

Add giflossy
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 13 23:27:32 2018 +0100 (21 months ago)
parents feb2e0c63d21
children
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://projects.gnome.org/evince/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
12 TAGS="viewer pdf tiff ps postscript dvi"
14 DEPENDS="lcms poppler tiff dbus-glib glib util-linux-uuid"
15 BUILD_DEPENDS="gnome-doc-utils-dev docbook-xml libxml2-dev \
16 gnome-icon-theme gtk+-dev intltool lcms-dev util-linux-uuid-dev \
17 poppler-dev tiff-dev dbus-glib-dev xorg-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure --prefix=/usr \
23 --libexecdir=/usr/lib/$PACKAGE \
24 --disable-nautilus \
25 --disable-scrollkeeper \
26 --disable-comics \
27 --without-gconf \
28 --without-keyring \
29 --disable-schemas-install \
30 --disable-gtk-doc-html \
31 --with-help-formats=none \
32 --disable-help \
33 $CONFIGURE_ARGS &&
34 make -j1 && make -j1 DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share/glib-2.0 $fs/usr/lib $fs/usr/share/applications
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/usr/lib/evince $fs/usr/lib
45 cp -a $install/usr/share/dbus-1 $fs/usr/share
46 cp -a $install/usr/share/icons $fs/usr/share
47 cp -a $install/usr/share/evince $fs/usr/share
48 cp -a $install/usr/share/glib-2.0/schemas $fs/usr/share/glib-2.0
49 cp -a $stuff/evince.desktop $fs/usr/share/applications
51 # Removing unwanted files
52 find $fs/usr/lib -name "*.*a" -exec rm -rf {} \;
53 }