wok view mate-session-manager/receipt @ rev 25462

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