wok-next view zenity/receipt @ rev 7928

zenity: fix gdialog wrapper permission
author Christophe Lincoln <pankso@slitaz.org>
date Mon Jan 10 10:57:52 2011 +0100 (2011-01-10)
parents b38027a04252
children 95794597e819
line source
1 # SliTaz package receipt.
3 PACKAGE="zenity"
4 VERSION="2.32.1"
5 CATEGORY="development"
6 SHORT_DESC="gui dialogs"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS="gtk+ libglade libnotify"
9 BUILD_DEPENDS="gnome-doc-utils gnome-doc-utils-dev libglade-dev intltool pkg-config"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.gnome.org"
12 WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 TAGS="dialogs gui"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --localstatedir=/var/lib \
22 --disable-scrollkeeper \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make && 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
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/share/zenity $fs/usr/share
35 cp -a $_pkg/usr/share/omf $fs/usr/share
36 # gdialog wrapper need to be executable.
37 chmod +x $fs/usr/bin/*
38 }