wok-next annotate 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 |
rev | line source |
---|---|
al@19741 | 1 # SliTaz package receipt v2. |
pankso@3150 | 2 |
pankso@3150 | 3 PACKAGE="desktop-file-utils" |
al@19540 | 4 VERSION="0.23" |
al@19540 | 5 CATEGORY="system-tools" |
al@19741 | 6 SHORT_DESC="Utilities for .desktop files" |
pankso@3150 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@19540 | 9 WEB_SITE="https://www.freedesktop.org/wiki/Software/desktop-file-utils/" |
al@19645 | 10 |
monghitri@13971 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19540 | 12 WGET_URL="https://www.freedesktop.org/software/desktop-file-utils/releases/$TARBALL" |
pankso@3150 | 13 |
pascal@15000 | 14 BUILD_DEPENDS="pkg-config glib-dev" |
al@19784 | 15 SPLIT="desktop-file-validate-static desktop-file-utils-extra" |
pascal@15000 | 16 |
al@20443 | 17 compile_rules() { |
al@19784 | 18 ./configure $CONFIGURE_ARGS && make && make install && |
al@19784 | 19 |
al@19784 | 20 make clean && |
al@19784 | 21 ./configure \ |
al@19784 | 22 LDFLAGS='-static -pthread' \ |
al@19784 | 23 --bindir=/usr/sbin \ |
al@19784 | 24 $CONFIGURE_ARGS && |
al@19784 | 25 make && make bin_PROGRAMS=desktop-file-validate LN_S=echo install |
pankso@3150 | 26 } |
pankso@3150 | 27 |
al@20443 | 28 genpkg_rules() { |
al@19784 | 29 val='desktop-file-validate' |
al@19741 | 30 case $PACKAGE in |
al@19741 | 31 desktop-file-utils) |
al@19784 | 32 copy bin/update-desktop-database |
al@19784 | 33 DEPENDS="glib" |
al@19741 | 34 ;; |
al@19784 | 35 *-static) |
al@19784 | 36 copy sbin/ |
al@19784 | 37 CAT="system tools|static desktop-file-validate" |
al@19784 | 38 DEPENDS=" " |
al@19784 | 39 ;; |
al@19784 | 40 *-extra) |
al@19784 | 41 copy @std; remove_already_packed |
al@19784 | 42 CAT="system-tools|extra utils" |
al@19784 | 43 DEPENDS="glib" |
al@19741 | 44 ;; |
al@19741 | 45 esac |
pankso@3150 | 46 } |