wok-current annotate eom/receipt @ rev 18618
Up eom: disable introspection
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Thu Nov 19 19:15:23 2015 -0200 (2015-11-19) |
parents | 4b381386b233 |
children | 5dafb1e42156 |
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@17868 | 38 } |
yuripourre@18618 | 39 |
yuripourre@18618 | 40 post_install() |
yuripourre@18618 | 41 { |
yuripourre@18618 | 42 echo "Processing post-install commands..." |
yuripourre@18618 | 43 chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas |
yuripourre@18618 | 44 } |
yuripourre@18618 | 45 |
yuripourre@18618 | 46 post_remove() |
yuripourre@18618 | 47 { |
yuripourre@18618 | 48 echo "Processing post-remove commands..." |
yuripourre@18618 | 49 chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas |
yuripourre@18618 | 50 } |