wok-current view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="desktop-file-utils"
4 VERSION="0.16"
5 CATEGORY="x-window"
6 SHORT_DESC="Desktop file utils from Freedesktop (update-desktop-database)."
7 DEPENDS="glib"
8 BUILD_DEPENDS="pkg-config glib-dev"
9 MAINTAINER="pankso@slitaz.org"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.freedesktop.org/wiki/Software/desktop-file-utils"
12 WGET_URL="http://www.freedesktop.org/software/desktop-file-utils/releases/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 $CONFIGURE_ARGS &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 cp $_pkg/usr/bin/update-desktop-database $fs/usr/bin
29 }