wok annotate mate-session-manager/receipt @ rev 24985

Add python-future
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 10 07:46:58 2022 +0000 (2022-05-10)
parents 34e801e0eb52
children 73f36875e5a7
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/"
pascal@24978 11 WGET_URL="https://github.com/mate-desktop/mate-session-manager/archive/refs/tags/$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
pascal@24497 21 # What is the latest version available today?
pascal@24497 22 current_version()
pascal@24497 23 {
pascal@24497 24 wget -O - https://github.com/mate-desktop/mate-session-manager/releases 2>/dev/null | \
pascal@24497 25 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24497 26 }
pascal@24497 27
yuripourre@18083 28 # Rules to configure and make the package.
yuripourre@18083 29 compile_rules()
yuripourre@18083 30 {
al@18734 31 ./autogen.sh \
yuripourre@18083 32 --prefix=/usr \
yuripourre@18083 33 --sysconfdir=/etc \
yuripourre@18083 34 --disable-static \
yuripourre@18083 35 --enable-polkit \
yuripourre@18083 36 --disable-upower \
yuripourre@18083 37 --disable-docbook-docs \
yuripourre@18083 38 --with-gtk=2.0 \
yuripourre@18083 39 $CONFIGURE_ARGS &&
yuripourre@18083 40 make &&
yuripourre@18083 41 make DESTDIR=$DESTDIR install
yuripourre@18083 42 }
yuripourre@18083 43
yuripourre@18083 44 genpkg_rules()
yuripourre@18083 45 {
yuripourre@18083 46 mkdir -p $fs/usr/bin $fs/usr/share
yuripourre@18083 47 cp -a $install/usr/bin $fs/usr
yuripourre@18083 48 cp -a $install/usr/share $fs/usr
yuripourre@18083 49 }