wok-next view desktop-file-utils/receipt @ rev 21723

busybox: update patches
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:44:52 2020 +0000 (2020-09-01)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="desktop-file-utils"
4 VERSION="0.23"
5 CATEGORY="system-tools"
6 SHORT_DESC="Utilities for .desktop files"
7 MAINTAINER="devel@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"
13 TARBALL_SHA1="10e9df65fdf2b896ce4d5f16616ea0df7c01d8f8"
15 BUILD_DEPENDS="glib-dev glib-static"
16 SPLIT="desktop-file-validate-static $PACKAGE-extra"
18 COPY_std="bin/update-desktop-database"
19 COPY_desktop_file_validate_static="sbin/"
20 COPY_extra="@std @rm"
22 CAT_desktop_file_validate_static="system tools|static desktop-file-validate"
23 CAT_extra="system-tools|extra utils"
25 DEPENDS_std="glib"
26 DEPENDS_desktop_file_validate_static=" "
27 DEPENDS_extra="glib"
29 compile_rules() {
30 ./configure $CONFIGURE_ARGS &&
31 make &&
32 make install || return 1
34 make clean &&
35 ./configure \
36 LDFLAGS='-static -pthread' \
37 --bindir=/usr/sbin \
38 $CONFIGURE_ARGS &&
39 make &&
40 make bin_PROGRAMS=desktop-file-validate LN_S=echo install
41 }