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

Fix cifs-utils, up grub2-efi-x64 stuff for iso EFI
author Stanislas Leduc <shann@slitaz.org>
date Sat Mar 30 18:05:22 2024 +0000 (3 months ago)
parents 0b2572ccafa5
children
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 }