wok annotate gtkdialog/receipt @ rev 10599

parole: fix bdeps and clean
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 26 15:26:37 2011 +0200 (2011-05-26)
parents 0b4cf0d9e1b5
children c2e7c7baed66
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
slaxemulator@9700 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