wok-4.x annotate gtkdialog/receipt @ rev 8615

Fix: replace exit 1 by return 1 in receipts (exit broke cook-list function)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Feb 14 19:09:46 2011 +0100 (2011-02-14)
parents d4cf86e94f5c
children d1768332cee0
rev   line source
pankso@28 1 # SliTaz package receipt.
pankso@28 2
pankso@28 3 PACKAGE="gtkdialog"
pascal@1570 4 VERSION="0.7.20"
pankso@28 5 CATEGORY="x-window"
pankso@28 6 SHORT_DESC="Small utility for fast and easy GUI building using GTK+."
pankso@28 7 MAINTAINER="pankso@slitaz.org"
pascal@2516 8 DEPENDS="gtk+ libglade xorg-libXdamage"
pankso@2576 9 BUILD_DEPENDS="gtk+-dev libglade-dev xorg-libXdamage-dev"
pankso@28 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@28 11 WEB_SITE="http://linux.pte.hu/~pipas/gtkdialog/"
pascal@1570 12 WGET_URL="ftp://linux.pte.hu/pub/gtkdialog/$TARBALL"
pankso@28 13
pankso@28 14 # Rules to configure and make the package.
pankso@28 15 compile_rules()
pankso@28 16 {
pankso@28 17 cd $src
pankso@2576 18 # Fix libgalde support
gokhlayeh@8615 19 patch -p 0 < ../stuff/glade_support.patch || return 1
pankso@764 20 ./configure \
pankso@764 21 --prefix=/usr \
pankso@764 22 --infodir=/usr/share/info \
pankso@764 23 --mandir=/usr/share/man \
pascal@1518 24 $CONFIGURE_ARGS &&
pascal@1518 25 make &&
pankso@28 26 make DESTDIR=$PWD/_pkg install
pankso@28 27 }
pankso@28 28
pankso@28 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@28 30 genpkg_rules()
pankso@28 31 {
pankso@28 32 mkdir -p $fs/usr/share/examples
pankso@28 33 cp -a $_pkg/usr/bin $fs/usr
pankso@28 34 # Fiew examples.
pankso@28 35 cp -a stuff/examples $fs/usr/share/examples/gtkdialog
pankso@28 36 }
pankso@28 37