wok-next view desktop-file-utils/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | f5bfda4cdfe9 |
children | d43bf7aae921 |
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 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; remove_already_packed
42 CAT="system-tools|extra utils"
43 DEPENDS="glib"
44 ;;
45 esac
46 }