wok-4.x view gtkdialog/receipt @ rev 3000
slim: Fix pre_install func to backup config file (Thanks firmit)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 11 21:44:31 2009 +0200 (2009-05-11) |
parents | 8b79c3ee7ac2 |
children | 0b4cf0d9e1b5 |
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 || exit 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 }