wok view evince/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 6831608a1b2a
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%.*}/$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 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure --prefix=/usr \
29 --libexecdir=/usr/lib/$PACKAGE \
30 --disable-nautilus \
31 --disable-scrollkeeper \
32 --disable-comics \
33 --without-gconf \
34 --without-keyring \
35 --disable-schemas-install \
36 --disable-gtk-doc-html \
37 --with-help-formats=none \
38 --disable-help \
39 $CONFIGURE_ARGS &&
40 make -j1 && make -j1 DESTDIR=$DESTDIR install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/share/glib-2.0 $fs/usr/lib $fs/usr/share/applications
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 cp -a $install/usr/lib/evince $fs/usr/lib
51 cp -a $install/usr/share/dbus-1 $fs/usr/share
52 cp -a $install/usr/share/icons $fs/usr/share
53 cp -a $install/usr/share/evince $fs/usr/share
54 cp -a $install/usr/share/glib-2.0/schemas $fs/usr/share/glib-2.0
55 cp -a $stuff/evince.desktop $fs/usr/share/applications
57 # Removing unwanted files
58 find $fs/usr/lib -name "*.*a" -exec rm -rf {} \;
59 }