wok-next view eom/receipt @ rev 18702
Up ola(0.9.8) (thanks Thomas a.k.a. kult-ex)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Dec 16 12:43:42 2015 +0200 (2015-12-16) |
parents | 2e6da34596fe |
children | 9e01bc6321ea |
line source
1 # SliTaz package receipt.
3 PACKAGE="eom"
4 VERSION="1.9.0"
5 CATEGORY="utilities"
6 LICENSE="GPL"
7 SHORT_DESC="MATE's default image viewer."
8 MAINTAINER="yuripourre@gmail.com"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.mate-desktop.org/"
11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL"
13 DEPENDS="gtk+ dconf jpeg pygtk desktop-file-utils exempi lcms libexif librsvg"
14 BUILD_DEPENDS="wget autoconf automake libtool itstool mate-desktop-dev \
15 mate-common-dev dconf-dev gtk-doc gtk+-dev yelp-tools mate-icon-theme \
16 jpeg-dev gobject-introspection-dev shared-mime-info-dev pygobject-dev \
17 pygtk-dev python-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i 's|\$PYTHON_MAKEFILE|& 2> /dev/null|' configure*
23 ./autogen.sh \
24 --prefix=/usr \
25 --disable-introspection\
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib/$PACKAGE/plugins $fs/usr/share/$PACKAGE
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib/$PACKAGE/plugins/*.so* $fs/usr/lib
36 cp -a $install/usr/lib/$PACKAGE/plugins/*.eom-plugin $fs/usr/lib/$PACKAGE/plugins
37 cp -a $install/usr/share/$PACKAGE/* $fs/usr/share/$PACKAGE
38 cp -a $install/usr/share/glib-2.0 $fs/usr/share
39 cp -a $install/usr/share/MateConf $fs/usr/share
40 }
42 post_install()
43 {
44 echo "Processing post-install commands..."
45 chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
46 }
48 post_remove()
49 {
50 echo "Processing post-remove commands..."
51 chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
52 }