wok view zenity/receipt @ rev 22814
openvas-libraries: patch for Bison 3
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 01 18:47:18 2020 +0100 (2020-02-01) |
parents | 4ed10109d053 |
children | 6831608a1b2a |
line source
1 # SliTaz package receipt.
3 PACKAGE="zenity"
4 VERSION="3.32.0"
5 CATEGORY="development"
6 TAGS="dialogs gui"
7 SHORT_DESC="GUI dialogs."
8 MAINTAINER="allan316@gmail.com"
9 LICENSE="LGPL2"
10 WEB_SITE="https://wiki.gnome.org/Projects/Zenity"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
15 DEPENDS="gcc83-lib-base gtk+3 libglade libnotify"
16 BUILD_DEPENDS="docbook-xsl gcc83 gnome-doc-utils-dev gtk+3-dev
17 intltool itstool libglade-dev pkg-config"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 CC=gcc-83 \
24 CXX=g++-83 \
25 --prefix=/usr \
26 --localstatedir=/var/lib \
27 --disable-scrollkeeper \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share/zenity $fs/usr/share
42 # cp -a $install/usr/share/omf $fs/usr/share
44 # gdialog wrapper need to be executable.
45 chmod +x $fs/usr/bin/*
46 }