wok-next view xdg-utils/receipt @ rev 7931

Up: slitaz-tools (4.0)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Jan 11 13:40:16 2011 +0100 (2011-01-11)
parents 0f4e433412b3
children 940b5937e496
line source
1 # SliTaz package receipt.
3 PACKAGE="xdg-utils"
4 VERSION="1.0.2"
5 CATEGORY="development"
6 SHORT_DESC="Assists desktop integration tasks."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="http://portland.freedesktop.org/wiki/"
11 WGET_URL="http://portland.freedesktop.org/download/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 while read file; do
18 [ -f done.$file ] && continue
19 echo "Apply $file..."
20 patch -p1 < ../stuff/$file || return 1
21 touch done.$file
22 done <<EOT
23 xdg-open-chrome.patch
24 EOT
25 ./configure \
26 --prefix=/usr \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make && make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $_pkg/usr/bin $fs/usr
38 }