wok annotate evince/receipt @ rev 25577

Up nimrod (1.6.12) again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 13 18:02:59 2023 +0000 (18 months ago)
parents 6831608a1b2a
children
rev   line source
erjo@4727 1 # SliTaz package receipt.
erjo@4727 2
erjo@4727 3 PACKAGE="evince"
slaxemulator@9357 4 VERSION="2.32.0"
erjo@4727 5 CATEGORY="office"
erjo@4727 6 SHORT_DESC="Document viewer for Gnome"
erjo@4727 7 MAINTAINER="erjo@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
erjo@4727 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@4727 10 WEB_SITE="http://projects.gnome.org/evince/"
pascal@24112 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
jozee@4935 12 TAGS="viewer pdf tiff ps postscript dvi"
erjo@4727 13
pascal@15002 14 DEPENDS="lcms poppler tiff dbus-glib glib util-linux-uuid"
pascal@15002 15 BUILD_DEPENDS="gnome-doc-utils-dev docbook-xml libxml2-dev \
pascal@15002 16 gnome-icon-theme gtk+-dev intltool lcms-dev util-linux-uuid-dev \
pascal@15002 17 poppler-dev tiff-dev dbus-glib-dev xorg-dev"
monghitri@13986 18
pascal@24111 19 current_version()
pascal@24111 20 {
pascal@24111 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24111 22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24111 23 }
pascal@24111 24
erjo@4727 25 # Rules to configure and make the package.
erjo@4727 26 compile_rules()
erjo@4727 27 {
erjo@4727 28 ./configure --prefix=/usr \
erjo@4727 29 --libexecdir=/usr/lib/$PACKAGE \
erjo@4727 30 --disable-nautilus \
erjo@4727 31 --disable-scrollkeeper \
erjo@4727 32 --disable-comics \
erjo@4727 33 --without-gconf \
erjo@4727 34 --without-keyring \
erjo@4727 35 --disable-schemas-install \
erjo@4727 36 --disable-gtk-doc-html \
erjo@4727 37 --with-help-formats=none \
samuel_trassare@11788 38 --disable-help \
erjo@4727 39 $CONFIGURE_ARGS &&
slaxemulator@12595 40 make -j1 && make -j1 DESTDIR=$DESTDIR install
erjo@4727 41 }
erjo@4727 42
erjo@4727 43 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4727 44 genpkg_rules()
erjo@4727 45 {
samuel_trassare@11788 46 mkdir -p $fs/usr/share/glib-2.0 $fs/usr/lib $fs/usr/share/applications
pascal@15002 47 cp -a $install/usr/bin $fs/usr
pascal@15002 48 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15002 49 cp -a $install/usr/lib/evince $fs/usr/lib
al@18734 50
pascal@15002 51 cp -a $install/usr/share/dbus-1 $fs/usr/share
pascal@15002 52 cp -a $install/usr/share/icons $fs/usr/share
pascal@15002 53 cp -a $install/usr/share/evince $fs/usr/share
pascal@15002 54 cp -a $install/usr/share/glib-2.0/schemas $fs/usr/share/glib-2.0
samuel_trassare@11789 55 cp -a $stuff/evince.desktop $fs/usr/share/applications
al@18734 56
erjo@4727 57 # Removing unwanted files
erjo@4727 58 find $fs/usr/lib -name "*.*a" -exec rm -rf {} \;
erjo@4727 59 }