wok-next view eom/receipt @ rev 17873

eom: Update bdeps and genpkg_rules
author Yuri Pourre <yuripourre@gmail.com>
date Fri Mar 27 02:10:52 2015 -0300 (2015-03-27)
parents e769b3202a0f
children 4b381386b233
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 ./autogen.sh \
23 --prefix=/usr \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib/$PACKAGE/plugins $fs/usr/share/$PACKAGE
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib/$PACKAGE/plugins/*.so* $fs/usr/lib
34 cp -a $install/usr/lib/$PACKAGE/plugins/*.eom-plugin $fs/usr/lib/$PACKAGE/plugins
35 cp -a $install/usr/share/$PACKAGE/* $fs/usr/share/$PACKAGE
36 }