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

postgresql: receipt v2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 01 11:18:25 2017 +0100 (2017-11-01)
parents 9278a60d6895
children 0e7893ac206d
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="pkg-config glib-dev"
15 SPLIT="desktop-file-validate-static desktop-file-utils-extra"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure $CONFIGURE_ARGS && make && make install &&
22 make clean &&
23 ./configure \
24 LDFLAGS='-static -pthread' \
25 --bindir=/usr/sbin \
26 $CONFIGURE_ARGS &&
27 make && make bin_PROGRAMS=desktop-file-validate LN_S=echo install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 val='desktop-file-validate'
34 case $PACKAGE in
35 desktop-file-utils)
36 copy bin/update-desktop-database
37 DEPENDS="glib"
38 ;;
39 *-static)
40 copy sbin/
41 CAT="system tools|static desktop-file-validate"
42 DEPENDS=" "
43 ;;
44 *-extra)
45 copy @std; remove_already_packed
46 CAT="system-tools|extra utils"
47 DEPENDS="glib"
48 ;;
49 esac
50 }