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