wok-6.x annotate desktop-file-utils/receipt @ rev 15645

wpa_supplicant: fail safe post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 10 13:16:06 2013 +0000 (2013-12-10)
parents 6f9ba9c78afe
children c9e270dd464f
rev   line source
pankso@3150 1 # SliTaz package receipt.
pankso@3150 2
pankso@3150 3 PACKAGE="desktop-file-utils"
monghitri@13971 4 VERSION="0.21"
pankso@3150 5 CATEGORY="x-window"
pankso@3150 6 SHORT_DESC="Desktop file utils from Freedesktop (update-desktop-database)."
pankso@3150 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
monghitri@13971 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pankso@3150 10 WEB_SITE="http://www.freedesktop.org/wiki/Software/desktop-file-utils"
pankso@3150 11 WGET_URL="http://www.freedesktop.org/software/desktop-file-utils/releases/$TARBALL"
pankso@3150 12
pascal@15000 13 DEPENDS="glib"
pascal@15000 14 BUILD_DEPENDS="pkg-config glib-dev"
pascal@15000 15
pankso@3150 16 # Rules to configure and make the package.
pankso@3150 17 compile_rules()
pankso@3150 18 {
pankso@3150 19 cd $src
pankso@3150 20 ./configure \
pankso@3150 21 --prefix=/usr \
pankso@3150 22 $CONFIGURE_ARGS &&
pascal@15000 23 make DESTDIR=$DESTDIR install
pankso@3150 24 }
pankso@3150 25
pankso@3150 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3150 27 genpkg_rules()
pankso@3150 28 {
pankso@3150 29 mkdir -p $fs/usr/bin
pascal@15000 30 cp $install/usr/bin/update-desktop-database $fs/usr/bin
pankso@3150 31 }