wok annotate mate-panel/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
parents a87ef96746f0
children 73f36875e5a7
rev   line source
yuripourre@18078 1 # SliTaz package receipt.
yuripourre@18078 2
yuripourre@18078 3 PACKAGE="mate-panel"
yuripourre@18078 4 VERSION="1.9.1"
yuripourre@18078 5 CATEGORY="utilities"
yuripourre@18078 6 LICENSE="GPL3"
yuripourre@18078 7 SHORT_DESC="Panel where you can run applications and applets using MATE."
yuripourre@18078 8 MAINTAINER="yuripourre@gmail.com"
yuripourre@18078 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
yuripourre@18078 10 WEB_SITE="http://www.mate-desktop.org/"
yuripourre@18078 11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL"
yuripourre@18280 12 TAGS="MATE"
yuripourre@18488 13 DEPENDS="gtk+ dconf mate-menus caja libmateweather marco \
yuripourre@18488 14 mate-desktop mate-session-manager"
yuripourre@18078 15 BUILD_DEPENDS="wget dconf-dev autoconf automake libtool itstool \
yuripourre@18078 16 gtk+-dev mate-common-dev mate-desktop-dev mate-menus-dev yelp-tools \
yuripourre@18078 17 harfbuzz-dev gtk-doc gobject-introspection-dev dbus-glib-dev \
yuripourre@18078 18 libcanberra-dev libwnck-dev librsvg-dev util-linux-uuid-dev \
pascal@19779 19 libmateweather-dev libsoup-dev sqlite-dev libcroco-dev"
yuripourre@18078 20
pascal@24055 21 current_version()
pascal@24055 22 {
pascal@24055 23 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 24 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 25 }
pascal@24055 26
yuripourre@18078 27 # Rules to configure and make the package.
yuripourre@18078 28 compile_rules()
yuripourre@18078 29 {
al@18741 30 ./autogen.sh \
yuripourre@18078 31 --prefix=/usr \
yuripourre@18079 32 --sysconfdir=/etc \
yuripourre@18079 33 --localstatedir=/var \
yuripourre@18080 34 --disable-introspection\
yuripourre@18079 35 --disable-static \
yuripourre@18078 36 $CONFIGURE_ARGS &&
yuripourre@18078 37 make &&
yuripourre@18078 38 make DESTDIR=$DESTDIR install
yuripourre@18078 39 }
yuripourre@18078 40
yuripourre@18078 41 genpkg_rules()
yuripourre@18078 42 {
yuripourre@18080 43 mkdir -p $fs/usr/lib
yuripourre@18080 44 cp -a $install/usr/bin $fs/usr
yuripourre@18078 45 cp -a $install/usr/share $fs/usr
yuripourre@18080 46 cp -a $install/usr/libexec $fs/usr
yuripourre@18080 47 cp -a $install/usr/lib/*.so* $fs/usr/lib
yuripourre@18488 48 rm -rf $install/usr/share/help
al@18741 49
yuripourre@18489 50 # Autostart
al@18741 51 mkdir -p $fs/etc/xdg/autostart/
yuripourre@18489 52 cp -a $install/usr/share/applications/* $fs/etc/xdg/autostart/
yuripourre@18078 53 }