wok annotate zenity/receipt @ rev 22832

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