# HG changeset patch # User Yuri Pourre # Date 1432331100 10800 # Node ID e17b9437d6548810e1d8ae757732dc44985b0b2b # Parent c31dd4eecbd3d030b8ee616a2837df0ff7c929f0 Add mate-session-manager diff -r c31dd4eecbd3 -r e17b9437d654 mate-session-manager/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mate-session-manager/receipt Fri May 22 18:45:00 2015 -0300 @@ -0,0 +1,54 @@ +# SliTaz package receipt. + +PACKAGE="mate-session-manager" +VERSION="1.8.1" +CATEGORY="utilities" +LICENSE="GPL3" +SHORT_DESC="Session Handler for MATE desktop." +MAINTAINER="yuripourre@gmail.com" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.mate-desktop.org/" +WGET_URL="https://github.com/yuripourre/$PACKAGE/archive/$TARBALL" + +DEPENDS="gtk+ dconf dbus-lib xdg-user-dirs marco mate-panel \ +mate-menus libltdl" +BUILD_DEPENDS="wget autoconf automake libtool itstool gtk+-dev \ +dconf-dev gtk-doc dbus-glib-dev mate-common-dev mate-desktop-dev \ +mate-polkit-dev mate-settings-daemon ttf-dejavu polkit-dev \ +pangox-compat-dev xorg-libSM-dev xorg-libXtst-dev xmlto \ +util-linux-uuid-dev docbook-xml docbook-xsl" + +# Rules to configure and make the package. +compile_rules() +{ + ./autogen.sh \ + --prefix=/usr \ + --sysconfdir=/etc \ + --disable-static \ + --enable-polkit \ + --disable-upower \ + --disable-docbook-docs \ + --with-gtk=2.0 \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +genpkg_rules() +{ + mkdir -p $fs/usr/bin $fs/usr/share + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/share $fs/usr +} + +post_install() +{ + echo "Processing post-install commands..." + chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas +} + +post_remove() +{ + echo "Processing post-remove commands..." + chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas +}