wok-next view gtkdialog/receipt @ rev 9705

gcc: dont erase Godane change ($stuff)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 08 20:09:05 2011 +0200 (2011-05-08)
parents 0b4cf0d9e1b5
children c2e7c7baed66
line source
1 # SliTaz package receipt.
3 PACKAGE="gtkdialog"
4 VERSION="0.7.20"
5 CATEGORY="x-window"
6 SHORT_DESC="Small utility for fast and easy GUI building using GTK+."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libglade xorg-libXdamage"
9 BUILD_DEPENDS="gtk+-dev libglade-dev xorg-libXdamage-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://linux.pte.hu/~pipas/gtkdialog/"
12 WGET_URL="ftp://linux.pte.hu/pub/gtkdialog/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 # Fix libgalde support
19 patch -p 0 < $stuff/glade_support.patch || return 1
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/examples
33 cp -a $_pkg/usr/bin $fs/usr
34 # Fiew examples.
35 cp -a stuff/examples $fs/usr/share/examples/gtkdialog
36 }