wok annotate matchbox-window-manager/receipt @ rev 25810

Up rsync (3.4.0) fixes CVE-2024-12084 & CVE-2024-12085
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 15 12:30:53 2025 +0000 (44 hours ago)
parents e7bac1c24680
children
rev   line source
pankso@10838 1 # SliTaz package receipt.
pankso@10838 2
pankso@10838 3 PACKAGE="matchbox-window-manager"
pankso@10838 4 VERSION="1.2"
pankso@10838 5 CATEGORY="x-window"
pankso@10838 6 SHORT_DESC="Matchbox Window Manager."
pankso@10838 7 MAINTAINER="pankso@slitaz.org"
pascal@15584 8 LICENSE="GPL2"
pankso@10838 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@10838 10 WEB_SITE="http://matchbox-project.org/"
pascal@25802 11 #WGET_URL="https://www.mucross.com/downloads/tonga-linux/sources/GPL/matchbox-wm/$TARBALL"
pascal@25802 12 WGET_URL="https://assets-2.balluff.com/gpl/mvblx-sources/GPL/matchbox-wm/$TARBALL"
al@17501 13 TAGS="window-manager"
pankso@10838 14
pankso@10838 15 DEPENDS="gtk+ startup-notification libmatchbox"
pascal@19807 16 BUILD_DEPENDS="gtk+-dev startup-notification-dev libmatchbox-dev expat-dev"
pankso@10838 17
pascal@24453 18 # What is the latest version available today?
pascal@24453 19 current_version()
pascal@24453 20 {
pascal@24453 21 wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-window-manager/$( \
pascal@24453 22 wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-window-manager/ 2>/dev/null | \
pascal@24453 23 sed '/href="[0-9]/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \
pascal@24453 24 sed '/href="matchbox-window-manager-[0-9]/!d;s|.*="matchbox-window-manager-||;s|.tar.*||' | sort -Vr | sed q
pascal@24453 25 }
pascal@24453 26
pankso@10838 27 # Rules to configure and make the package.
pankso@10838 28 compile_rules()
pankso@10838 29 {
pankso@10838 30 ./configure \
pankso@10838 31 --sysconfdir=/etc \
pankso@10838 32 --enable-expat \
pankso@10838 33 --enable-startup-notification \
pankso@10838 34 --enable-session \
pankso@10838 35 $CONFIGURE_ARGS &&
pankso@10838 36 make && make install
pankso@10838 37 }
pankso@10838 38
pankso@10838 39 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@10838 40 genpkg_rules()
pankso@10838 41 {
pankso@10838 42 mkdir -p $fs/usr
pankso@10838 43 cp -a $install/etc $fs
pankso@10838 44 cp -a $install/usr/bin $fs/usr
pankso@10838 45 cp -a $install/usr/share $fs/usr
pankso@10838 46 }