wok-current annotate desktop-file-utils/receipt @ rev 7909
Added DESTDIR=PWD/_pkg to attr. Needed for it to make packages.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Jan 09 12:03:10 2011 +0000 (2011-01-09) |
parents | 6e90579538d6 |
children | 7c8053c6caac |
rev | line source |
---|---|
pankso@3150 | 1 # SliTaz package receipt. |
pankso@3150 | 2 |
pankso@3150 | 3 PACKAGE="desktop-file-utils" |
slaxemulator@6238 | 4 VERSION="0.16" |
pankso@3150 | 5 CATEGORY="x-window" |
pankso@3150 | 6 SHORT_DESC="Desktop file utils from Freedesktop (update-desktop-database)." |
pascal@5000 | 7 DEPENDS="glib" |
slaxemulator@6238 | 8 BUILD_DEPENDS="pkg-config glib-dev" |
pankso@3150 | 9 MAINTAINER="pankso@slitaz.org" |
slaxemulator@6238 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
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 } |