wok-current view desktop-file-utils/receipt @ rev 25642

Bump linux to 4.19.305, add linux-pae-ipv6
author Stanislas Leduc <shann@slitaz.org>
date Wed Jan 17 12:05:22 2024 +0000 (11 months ago)
parents 0b2572ccafa5
children 5926178cd6fa
line source
1 # SliTaz package receipt.
3 PACKAGE="desktop-file-utils"
4 VERSION="0.26"
5 CATEGORY="system-tools"
6 SHORT_DESC="Utilities for .desktop files (update-desktop-database)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/desktop-file-utils/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://www.freedesktop.org/software/desktop-file-utils/releases/$TARBALL"
14 DEPENDS="glib glibc-base pcre"
15 BUILD_DEPENDS="glib-dev meson pkg-config"
17 SPLIT="desktop-file-utils-extra"
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed '/utils-/!d;s|.*utils-||;s|.tar.*||' | sed '$!d'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 meson _build \
29 --prefix=/usr &&
30 ninja -C _build &&
31 ninja -C _build install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_files update-desktop-database
38 }