wok-current annotate eom/receipt @ rev 18640
Up tazpkg(876), cookutils(779); change post_install() in pango, slitaz-boot-scripts, syslinux, tazwikiss
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Nov 30 01:53:13 2015 +0200 (2015-11-30) |
parents | 2e6da34596fe |
children | 9e01bc6321ea |
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 } |
yuripourre@18618 | 41 |
yuripourre@18618 | 42 post_install() |
yuripourre@18618 | 43 { |
yuripourre@18618 | 44 echo "Processing post-install commands..." |
yuripourre@18618 | 45 chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas |
yuripourre@18618 | 46 } |
yuripourre@18618 | 47 |
yuripourre@18618 | 48 post_remove() |
yuripourre@18618 | 49 { |
yuripourre@18618 | 50 echo "Processing post-remove commands..." |
yuripourre@18618 | 51 chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas |
yuripourre@18618 | 52 } |