wok-next view zenity/receipt @ rev 9915

cgdb: fix bdeps and clean-up receipt
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 17 20:14:45 2011 +0200 (2011-05-17)
parents 5ef651cb0603
children 191b99ca9dc2
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 \
10 intltool pkg-config docbook-xsl"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.gnome.org"
13 WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
14 TAGS="dialogs gui"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --localstatedir=/var/lib \
23 --disable-scrollkeeper \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/share/zenity $fs/usr/share
36 cp -a $_pkg/usr/share/omf $fs/usr/share
37 # gdialog wrapper need to be executable.
38 chmod +x $fs/usr/bin/*
39 }