wok-current annotate menu-cache/receipt @ rev 25679

Patch ghostscript CVE-2023-36664
author Stanislas Leduc <shann@slitaz.org>
date Fri Mar 08 13:06:31 2024 +0000 (8 months ago)
parents ee53899c6189
children
rev   line source
pankso@2214 1 # SliTaz package receipt.
pankso@2214 2
pankso@2214 3 PACKAGE="menu-cache"
al@21310 4 VERSION="1.1.0"
pankso@2214 5 CATEGORY="x-window"
al@17992 6 SHORT_DESC="LXDE implementation of the freedesktop Menu's cache"
al@21310 7 MAINTAINER="devel@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@16832 9 WEB_SITE="https://github.com/lxde/menu-cache"
al@17988 10 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@17988 11 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
al@17992 12 TAGS="LXDE"
pankso@16252 13 HOST_ARCH="i486 arm"
pankso@2214 14
al@21310 15 DEPENDS="glib glibc-base libfm-extra libgio" # slitaz-menus ?
al@21310 16 BUILD_DEPENDS="gtk-doc libtool libfm-extra-dev"
pankso@12161 17
pascal@24071 18 current_version()
pascal@24071 19 {
pascal@24299 20 wget -O - $WEB_SITE/tags 2>/dev/null | \
pascal@24071 21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24071 22 }
pascal@24071 23
pankso@2214 24 # Rules to configure and make the package.
pankso@2214 25 compile_rules()
pankso@2214 26 {
pankso@2214 27 ./configure \
pankso@2214 28 --prefix=/usr \
rcx@3624 29 --sysconfdir=/etc \
al@16832 30 --libexecdir=/usr/lib \
al@21310 31 --disable-static \
pankso@2214 32 $CONFIGURE_ARGS &&
pankso@16252 33 make && make install
pankso@2214 34 }
pankso@2214 35
pankso@2214 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2214 37 genpkg_rules()
pankso@2214 38 {
pankso@2214 39 mkdir -p $fs/usr/lib
al@21310 40 cp -a $install/usr/lib/*.so* $fs/usr/lib/
al@21310 41 cp -a $install/usr/lib/menu-cache $fs/usr/lib/
pankso@2214 42 }