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

glibc: fix build (thanks az_ua)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Feb 25 14:47:17 2016 +0200 (2016-02-25)
parents 380ffe05937a
children 65798b8406a3
line source
1 # SliTaz package receipt.
3 PACKAGE="desktop-file-utils"
4 VERSION="0.21"
5 CATEGORY="x-window"
6 SHORT_DESC="Utilities for .desktop files (update-desktop-database)"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.freedesktop.org/wiki/Software/desktop-file-utils"
11 WGET_URL="http://www.freedesktop.org/software/desktop-file-utils/releases/$TARBALL"
13 DEPENDS="glib"
14 BUILD_DEPENDS="pkg-config glib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure \
20 --prefix=/usr \
21 $CONFIGURE_ARGS &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin
29 cp $install/usr/bin/update-desktop-database $fs/usr/bin
30 }