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

transmission: up 2.93
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 19 20:11:53 2018 +0300 (2018-04-19)
parents 0e7893ac206d
children a3200eb95e1d
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="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 BUILD_DEPENDS="glib-dev"
15 SPLIT="desktop-file-validate-static desktop-file-utils-extra"
17 compile_rules() {
18 ./configure $CONFIGURE_ARGS && make && make install &&
20 make clean &&
21 ./configure \
22 LDFLAGS='-static -pthread' \
23 --bindir=/usr/sbin \
24 $CONFIGURE_ARGS &&
25 make && make bin_PROGRAMS=desktop-file-validate LN_S=echo install
26 }
28 genpkg_rules() {
29 val='desktop-file-validate'
30 case $PACKAGE in
31 desktop-file-utils)
32 copy bin/update-desktop-database
33 DEPENDS="glib"
34 ;;
35 *-static)
36 copy sbin/
37 CAT="system tools|static desktop-file-validate"
38 DEPENDS=" "
39 ;;
40 *-extra)
41 copy @std @rm
42 CAT="system-tools|extra utils"
43 DEPENDS="glib"
44 ;;
45 esac
46 }