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

libarchive: depends on libzstd
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jan 14 03:39:08 2019 +0200 (2019-01-14)
parents a3200eb95e1d
children 29128929e4f9
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"
14 BUILD_DEPENDS="glib-dev glib-static"
15 SPLIT="desktop-file-validate-static $PACKAGE-extra"
17 compile_rules() {
18 ./configure $CONFIGURE_ARGS &&
19 make &&
20 make install || return 1
22 make clean &&
23 ./configure \
24 LDFLAGS='-static -pthread' \
25 --bindir=/usr/sbin \
26 $CONFIGURE_ARGS &&
27 make &&
28 make bin_PROGRAMS=desktop-file-validate LN_S=echo install
29 }
31 genpkg_rules() {
32 val='desktop-file-validate'
33 case $PACKAGE in
34 desktop-file-utils)
35 copy bin/update-desktop-database
36 DEPENDS="glib"
37 ;;
38 *-static)
39 copy sbin/
40 CAT="system tools|static desktop-file-validate"
41 DEPENDS=" "
42 ;;
43 *-extra)
44 copy @std @rm
45 CAT="system-tools|extra utils"
46 DEPENDS="glib"
47 ;;
48 esac
49 }