wok-current annotate xdg-utils/receipt @ rev 10353

gcc: Removed gawk in build depends. Added check like the one glibc has to install if cook script is found. Fixed tazwok cookorder i hope.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun May 22 16:40:19 2011 +0000 (2011-05-22)
parents 6ce2795cffec
children cf385e3cb95d
rev   line source
paul@3234 1 # SliTaz package receipt.
paul@3234 2
paul@3234 3 PACKAGE="xdg-utils"
paul@3234 4 VERSION="1.0.2"
paul@3234 5 CATEGORY="development"
paul@3234 6 SHORT_DESC="Assists desktop integration tasks."
paul@3234 7 MAINTAINER="paul@slitaz.org"
paul@3234 8 DEPENDS=""
paul@3234 9 TARBALL="$PACKAGE-$VERSION.tgz"
paul@3234 10 WEB_SITE="http://portland.freedesktop.org/wiki/"
paul@3234 11 WGET_URL="http://portland.freedesktop.org/download/$TARBALL"
paul@3234 12
paul@3234 13 # Rules to configure and make the package.
paul@3234 14 compile_rules()
paul@3234 15 {
paul@3234 16 cd $src
rocky@7766 17 while read file; do
rocky@7766 18 [ -f done.$file ] && continue
rocky@7766 19 echo "Apply $file..."
pascal@8974 20 patch -p1 < $stuff/$file || return 1
rocky@7766 21 touch done.$file
rocky@7766 22 done <<EOT
rocky@7766 23 xdg-open-chrome.patch
rocky@7766 24 EOT
paul@3234 25 ./configure \
paul@3234 26 --prefix=/usr \
paul@3234 27 --infodir=/usr/share/info \
paul@3234 28 --mandir=/usr/share/man \
paul@3234 29 $CONFIGURE_ARGS &&
paul@3234 30 make && make DESTDIR=$PWD/_pkg install
paul@3234 31 }
paul@3234 32
paul@3234 33 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@3234 34 genpkg_rules()
paul@3234 35 {
paul@3234 36 mkdir -p $fs/usr
paul@3234 37 cp -a $_pkg/usr/bin $fs/usr
paul@3234 38 }
paul@3234 39