wok-next view evince/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children | 75632eca5b07 |
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="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.gnome.org/Apps/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 gtk2-dev intltool lcms-dev util-linux-uuid-dev \
16 poppler-dev tiff-dev dbus-glib-dev xorg-dev lcms2-dev"
17 SPLIT="$PACKAGE-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=$install 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 }