wok annotate zenity/receipt @ rev 19016

Up slitaz-arm-rpi (212)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 01 10:29:04 2016 +0200 (2016-04-01)
parents 95794597e819
children 6e8b1bcb30e2
rev   line source
allan316@3642 1 # SliTaz package receipt.
allan316@3642 2
allan316@3642 3 PACKAGE="zenity"
slaxemulator@7628 4 VERSION="2.32.1"
allan316@3642 5 CATEGORY="development"
allan316@3642 6 SHORT_DESC="gui dialogs"
allan316@3642 7 MAINTAINER="allan316@gmail.com"
pascal@15361 8 LICENSE="LGPL2"
slaxemulator@7322 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
allan316@3642 10 WEB_SITE="http://www.gnome.org"
slaxemulator@7322 11 WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
jozee@4978 12 TAGS="dialogs gui"
allan316@3642 13
pascal@15361 14 DEPENDS="gtk+ libglade libnotify"
pascal@15361 15 BUILD_DEPENDS="gnome-doc-utils gnome-doc-utils-dev libglade-dev \
pascal@15361 16 intltool pkg-config docbook-xsl"
pascal@15361 17
allan316@3642 18 # Rules to configure and make the package.
allan316@3642 19 compile_rules()
allan316@3642 20 {
allan316@3642 21 cd $src
allan316@3642 22 ./configure \
allan316@3642 23 --prefix=/usr \
allan316@3642 24 --localstatedir=/var/lib \
allan316@3642 25 --disable-scrollkeeper \
allan316@3642 26 --infodir=/usr/share/info \
allan316@3642 27 --mandir=/usr/share/man \
allan316@3642 28 $CONFIGURE_ARGS &&
pascal@15361 29 make && make DESTDIR=$DESTDIR install
allan316@3642 30 }
allan316@3642 31
allan316@3642 32 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3642 33 genpkg_rules()
allan316@3642 34 {
allan316@3642 35 mkdir -p $fs/usr/share
pascal@15361 36 cp -a $install/usr/bin $fs/usr
pascal@15361 37 cp -a $install/usr/share/zenity $fs/usr/share
pascal@15361 38 cp -a $install/usr/share/omf $fs/usr/share
pankso@7928 39 # gdialog wrapper need to be executable.
pankso@7928 40 chmod +x $fs/usr/bin/*
allan316@3642 41 }
allan316@3642 42