wok-next view mate-session-manager/receipt @ rev 18449

newsbeuter: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 26 21:35:58 2015 +0200 (2015-09-26)
parents d8b315d1e5b2
children 9e01bc6321ea
line source
1 # SliTaz package receipt.
3 PACKAGE="mate-session-manager"
4 VERSION="1.8.1"
5 CATEGORY="utilities"
6 LICENSE="GPL3"
7 SHORT_DESC="Session Handler for MATE desktop."
8 MAINTAINER="yuripourre@gmail.com"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.mate-desktop.org/"
11 WGET_URL="https://github.com/yuripourre/$PACKAGE/archive/$TARBALL"
12 TAGS="MATE"
13 DEPENDS="gtk+ dconf dbus-glib xdg-user-dirs marco mate-panel \
14 mate-menus libltdl"
15 BUILD_DEPENDS="wget autoconf automake libtool itstool gtk+-dev \
16 dconf-dev gtk-doc dbus-glib-dev mate-common-dev mate-desktop-dev \
17 mate-polkit-dev mate-settings-daemon ttf-dejavu polkit-dev \
18 pangox-compat-dev xorg-libSM-dev xorg-libXtst-dev xmlto \
19 util-linux-uuid-dev docbook-xml docbook-xsl"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./autogen.sh \
25 --prefix=/usr \
26 --sysconfdir=/etc \
27 --disable-static \
28 --enable-polkit \
29 --disable-upower \
30 --disable-docbook-docs \
31 --with-gtk=2.0 \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/bin $fs/usr/share
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share $fs/usr
42 }
44 post_install()
45 {
46 echo "Processing post-install commands..."
47 chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
48 }
50 post_remove()
51 {
52 echo "Processing post-remove commands..."
53 chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
54 }