wok-6.x view gtkdialog/receipt @ rev 3293
Jinja2: fix genpkg_rules
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Thu Jun 04 00:40:12 2009 +0000 (2009-06-04) |
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 }