wok view eom/receipt @ rev 25779
Up fdutils (5.6), lite (1.11), again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 20 09:24:30 2024 +0000 (2 months ago) |
parents | 73f36875e5a7 |
children |
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="https://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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 sed -i 's|\$PYTHON_MAKEFILE|& 2> /dev/null|' configure*
30 ./autogen.sh \
31 --prefix=/usr \
32 --disable-introspection\
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib/$PACKAGE/plugins $fs/usr/share/$PACKAGE
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/$PACKAGE/plugins/*.so* $fs/usr/lib
43 cp -a $install/usr/lib/$PACKAGE/plugins/*.eom-plugin $fs/usr/lib/$PACKAGE/plugins
44 cp -a $install/usr/share/$PACKAGE/* $fs/usr/share/$PACKAGE
45 cp -a $install/usr/share/glib-2.0 $fs/usr/share
46 cp -a $install/usr/share/MateConf $fs/usr/share
47 }