wok-6.x rev 18083
Add mate-session-manager
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Fri May 22 18:45:00 2015 -0300 (2015-05-22) |
parents | c31dd4eecbd3 |
children | 2008e4626c02 |
files | mate-session-manager/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mate-session-manager/receipt Fri May 22 18:45:00 2015 -0300 1.3 @@ -0,0 +1,54 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="mate-session-manager" 1.7 +VERSION="1.8.1" 1.8 +CATEGORY="utilities" 1.9 +LICENSE="GPL3" 1.10 +SHORT_DESC="Session Handler for MATE desktop." 1.11 +MAINTAINER="yuripourre@gmail.com" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://www.mate-desktop.org/" 1.14 +WGET_URL="https://github.com/yuripourre/$PACKAGE/archive/$TARBALL" 1.15 + 1.16 +DEPENDS="gtk+ dconf dbus-lib xdg-user-dirs marco mate-panel \ 1.17 +mate-menus libltdl" 1.18 +BUILD_DEPENDS="wget autoconf automake libtool itstool gtk+-dev \ 1.19 +dconf-dev gtk-doc dbus-glib-dev mate-common-dev mate-desktop-dev \ 1.20 +mate-polkit-dev mate-settings-daemon ttf-dejavu polkit-dev \ 1.21 +pangox-compat-dev xorg-libSM-dev xorg-libXtst-dev xmlto \ 1.22 +util-linux-uuid-dev docbook-xml docbook-xsl" 1.23 + 1.24 +# Rules to configure and make the package. 1.25 +compile_rules() 1.26 +{ 1.27 + ./autogen.sh \ 1.28 + --prefix=/usr \ 1.29 + --sysconfdir=/etc \ 1.30 + --disable-static \ 1.31 + --enable-polkit \ 1.32 + --disable-upower \ 1.33 + --disable-docbook-docs \ 1.34 + --with-gtk=2.0 \ 1.35 + $CONFIGURE_ARGS && 1.36 + make && 1.37 + make DESTDIR=$DESTDIR install 1.38 +} 1.39 + 1.40 +genpkg_rules() 1.41 +{ 1.42 + mkdir -p $fs/usr/bin $fs/usr/share 1.43 + cp -a $install/usr/bin $fs/usr 1.44 + cp -a $install/usr/share $fs/usr 1.45 +} 1.46 + 1.47 +post_install() 1.48 +{ 1.49 + echo "Processing post-install commands..." 1.50 + chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas 1.51 +} 1.52 + 1.53 +post_remove() 1.54 +{ 1.55 + echo "Processing post-remove commands..." 1.56 + chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas 1.57 +}