wok-stable annotate evince/receipt @ rev 11007
Up: gdb to 7.3.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 13 03:15:29 2011 +0000 (2011-10-13) |
parents | c457c027baec |
children | a3e5cd2d355a |
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@10915 | 8 DEPENDS="lcms poppler tiff dbus-glib glib-dev util-linux-ng-uuid" |
pascal@10914 | 9 BUILD_DEPENDS="gnome-doc-utils-dev docbook-xml \ |
pascal@10914 | 10 gnome-icon-theme gtk+-dev intltool lcms-dev util-linux-ng-uuid-dev" |
erjo@4727 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@4727 | 12 WEB_SITE="http://projects.gnome.org/evince/" |
erjo@4727 | 13 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/evince/${VERSION%.*}/${TARBALL}" |
jozee@4935 | 14 TAGS="viewer pdf tiff ps postscript dvi" |
erjo@4727 | 15 |
erjo@4727 | 16 # Rules to configure and make the package. |
erjo@4727 | 17 compile_rules() |
erjo@4727 | 18 { |
erjo@4727 | 19 cd $src |
erjo@4727 | 20 ./configure --prefix=/usr \ |
erjo@4727 | 21 --libexecdir=/usr/lib/$PACKAGE \ |
erjo@4727 | 22 --disable-nautilus \ |
erjo@4727 | 23 --disable-scrollkeeper \ |
erjo@4727 | 24 --disable-comics \ |
erjo@4727 | 25 --without-gconf \ |
erjo@4727 | 26 --without-keyring \ |
erjo@4727 | 27 --disable-schemas-install \ |
erjo@4727 | 28 --disable-gtk-doc-html \ |
erjo@4727 | 29 --with-help-formats=none \ |
erjo@4727 | 30 $CONFIGURE_ARGS && |
slaxemulator@9357 | 31 make -j1 && make -j1 DESTDIR=$PWD/_pkg install |
erjo@4727 | 32 } |
erjo@4727 | 33 |
erjo@4727 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4727 | 35 genpkg_rules() |
erjo@4727 | 36 { |
pascal@10912 | 37 mkdir -p $fs/usr/share/glib-2.0 $fs/usr/lib |
erjo@4727 | 38 cp -a $_pkg/usr/bin $fs/usr |
erjo@4727 | 39 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@4727 | 40 cp -a $_pkg/usr/lib/evince $fs/usr/lib |
erjo@4727 | 41 |
erjo@4727 | 42 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share |
erjo@4727 | 43 cp -a $_pkg/usr/share/icons $fs/usr/share |
erjo@4727 | 44 cp -a $_pkg/usr/share/evince $fs/usr/share |
pascal@10912 | 45 cp -a $_pkg/usr/share/glib-2.0/schemas $fs/usr/share/glib-2.0 |
erjo@4727 | 46 |
erjo@4727 | 47 # Removing unwanted files |
erjo@4727 | 48 find $fs/usr/lib -name "*.*a" -exec rm -rf {} \; |
erjo@4727 | 49 } |
pascal@10912 | 50 |
pascal@10912 | 51 # Post install/remove commands for Tazpkg. |
pascal@10912 | 52 post_install() |
pascal@10912 | 53 { |
pascal@10912 | 54 echo "Processing post-install commands..." |
pascal@10912 | 55 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas |
pascal@10912 | 56 } |
pascal@10912 | 57 |
pascal@10912 | 58 post_remove() |
pascal@10912 | 59 { |
pascal@10912 | 60 echo "Processing post-remove commands..." |
pascal@10912 | 61 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas |
pascal@10912 | 62 } |