wok annotate desktop-file-utils/receipt @ rev 3886
perdition: ensure pidfile are valid
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 12 18:13:06 2009 +0200 (2009-08-12) |
parents | |
children | 6e90579538d6 |
rev | line source |
---|---|
pankso@3150 | 1 # SliTaz package receipt. |
pankso@3150 | 2 |
pankso@3150 | 3 PACKAGE="desktop-file-utils" |
pankso@3150 | 4 VERSION="0.15" |
pankso@3150 | 5 CATEGORY="x-window" |
pankso@3150 | 6 SHORT_DESC="Desktop file utils from Freedesktop (update-desktop-database)." |
pankso@3150 | 7 DEPENDS="" |
pankso@3150 | 8 BUILD_DEPENDS="" |
pankso@3150 | 9 MAINTAINER="pankso@slitaz.org" |
pankso@3150 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@3150 | 11 WEB_SITE="http://www.freedesktop.org/wiki/Software/desktop-file-utils" |
pankso@3150 | 12 WGET_URL="http://www.freedesktop.org/software/desktop-file-utils/releases/$TARBALL" |
pankso@3150 | 13 |
pankso@3150 | 14 # Rules to configure and make the package. |
pankso@3150 | 15 compile_rules() |
pankso@3150 | 16 { |
pankso@3150 | 17 cd $src |
pankso@3150 | 18 ./configure \ |
pankso@3150 | 19 --prefix=/usr \ |
pankso@3150 | 20 $CONFIGURE_ARGS && |
pankso@3150 | 21 make DESTDIR=$PWD/_pkg install |
pankso@3150 | 22 } |
pankso@3150 | 23 |
pankso@3150 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3150 | 25 genpkg_rules() |
pankso@3150 | 26 { |
pankso@3150 | 27 mkdir -p $fs/usr/bin |
pankso@3150 | 28 cp $_pkg/usr/bin/update-desktop-database $fs/usr/bin |
pankso@3150 | 29 } |