wok-6.x view desktop-file-utils/receipt @ rev 24134
Up lzsa (1.3.8)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 28 18:03:20 2021 +0000 (2021-10-28) |
parents | c1575d842c72 |
children | 0b2572ccafa5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="desktop-file-utils"
4 VERSION="0.24"
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 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 ./configure $CONFIGURE_ARGS &&
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cook_copy_files update-desktop-database
37 }