wok-current annotate desktop-file-utils/receipt @ rev 5799
Speedup some builds
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 11 13:55:46 2010 +0200 (2010-07-11) |
parents | 9a3ae0d7cd87 |
children | d19cd4ed0fd3 |
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)." |
pascal@5000 | 7 DEPENDS="glib" |
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 } |