wok-stable view xdg-utils/receipt @ rev 9187
Fix orpheus by unsetting CFLAGS/CXXFLAGS
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Wed Mar 09 06:46:27 2011 +0100 (2011-03-09) |
parents | 6ce2795cffec |
children |
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 }