wok-next view evince/receipt @ rev 20709
cdrdao: add patch.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 26 17:09:29 2018 +0300 (2018-05-26) |
parents | fb9d8c16e8db |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://projects.gnome.org/evince/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
14 BUILD_DEPENDS="gnome-doc-utils docbook-xml libxml2-dev \
15 gnome-icon-theme gtk+-dev intltool lcms-dev util-linux-uuid-dev \
16 poppler-dev tiff-dev dbus-glib-dev xorg-dev lcms2-dev"
17 SPLIT="evince-dev"
19 compile_rules() {
20 export LDFLAGS="$LDFLAGS -lICE"
22 ./configure \
23 --prefix=/usr \
24 --libexecdir=/usr/lib/$PACKAGE \
25 --disable-nautilus \
26 --disable-scrollkeeper \
27 --disable-comics \
28 --without-gconf \
29 --without-keyring \
30 --disable-schemas-install \
31 --disable-gtk-doc-html \
32 --with-help-formats=none \
33 --disable-help \
34 $CONFIGURE_ARGS &&
35 fix libtool &&
36 make -j1 &&
37 make -j1 DESTDIR=$DESTDIR install || return 1
39 install -Dm644 $stuff/evince.desktop $install/usr/share/applications/evince.desktop
40 }
42 genpkg_rules() {
43 case $PACKAGE in
44 evince)
45 copy @std
46 TAGS="viewer pdf tiff ps postscript dvi"
47 DEPENDS="lcms poppler tiff dbus-glib glib util-linux-uuid"
48 ;;
49 *-dev)
50 copy @dev
51 ;;
52 esac
53 }