wok-current annotate eom/receipt @ rev 18932
raine: use EXTRA_SOURCE_FILES to track the sources files (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 26 18:58:31 2016 +0100 (2016-02-26) |
parents | 9e01bc6321ea |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
yuripourre@17868 | 1 # SliTaz package receipt. |
yuripourre@17868 | 2 |
yuripourre@17868 | 3 PACKAGE="eom" |
yuripourre@17868 | 4 VERSION="1.9.0" |
yuripourre@17868 | 5 CATEGORY="utilities" |
yuripourre@17868 | 6 LICENSE="GPL" |
yuripourre@17868 | 7 SHORT_DESC="MATE's default image viewer." |
yuripourre@17868 | 8 MAINTAINER="yuripourre@gmail.com" |
yuripourre@17868 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
yuripourre@17868 | 10 WEB_SITE="http://www.mate-desktop.org/" |
yuripourre@17868 | 11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL" |
yuripourre@17868 | 12 |
yuripourre@17868 | 13 DEPENDS="gtk+ dconf jpeg pygtk desktop-file-utils exempi lcms libexif librsvg" |
yuripourre@17868 | 14 BUILD_DEPENDS="wget autoconf automake libtool itstool mate-desktop-dev \ |
yuripourre@17868 | 15 mate-common-dev dconf-dev gtk-doc gtk+-dev yelp-tools mate-icon-theme \ |
yuripourre@17873 | 16 jpeg-dev gobject-introspection-dev shared-mime-info-dev pygobject-dev \ |
yuripourre@17873 | 17 pygtk-dev python-dev" |
yuripourre@17868 | 18 |
yuripourre@17868 | 19 # Rules to configure and make the package. |
yuripourre@17868 | 20 compile_rules() |
yuripourre@17868 | 21 { |
pascal@17874 | 22 sed -i 's|\$PYTHON_MAKEFILE|& 2> /dev/null|' configure* |
yuripourre@17868 | 23 ./autogen.sh \ |
yuripourre@17868 | 24 --prefix=/usr \ |
yuripourre@18618 | 25 --disable-introspection\ |
yuripourre@17868 | 26 $CONFIGURE_ARGS && |
yuripourre@17868 | 27 make && |
yuripourre@17868 | 28 make DESTDIR=$DESTDIR install |
yuripourre@17868 | 29 } |
yuripourre@17868 | 30 |
yuripourre@17868 | 31 genpkg_rules() |
yuripourre@17868 | 32 { |
yuripourre@17873 | 33 mkdir -p $fs/usr/lib/$PACKAGE/plugins $fs/usr/share/$PACKAGE |
yuripourre@17868 | 34 cp -a $install/usr/bin $fs/usr |
yuripourre@17873 | 35 cp -a $install/usr/lib/$PACKAGE/plugins/*.so* $fs/usr/lib |
yuripourre@17873 | 36 cp -a $install/usr/lib/$PACKAGE/plugins/*.eom-plugin $fs/usr/lib/$PACKAGE/plugins |
yuripourre@17868 | 37 cp -a $install/usr/share/$PACKAGE/* $fs/usr/share/$PACKAGE |
yuripourre@18628 | 38 cp -a $install/usr/share/glib-2.0 $fs/usr/share |
yuripourre@18628 | 39 cp -a $install/usr/share/MateConf $fs/usr/share |
yuripourre@17868 | 40 } |