wok-next annotate zenity/receipt @ rev 14515

Add python-genshi
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 15 13:54:10 2013 +0200 (2013-05-15)
parents 5ef651cb0603
children 191b99ca9dc2
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@5008 8 DEPENDS="gtk+ libglade libnotify"
pascal@9347 9 BUILD_DEPENDS="gnome-doc-utils gnome-doc-utils-dev libglade-dev \
pascal@9347 10 intltool pkg-config docbook-xsl"
slaxemulator@7322 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
allan316@3642 12 WEB_SITE="http://www.gnome.org"
slaxemulator@7322 13 WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
jozee@4978 14 TAGS="dialogs gui"
allan316@3642 15
allan316@3642 16 # Rules to configure and make the package.
allan316@3642 17 compile_rules()
allan316@3642 18 {
allan316@3642 19 cd $src
allan316@3642 20 ./configure \
allan316@3642 21 --prefix=/usr \
allan316@3642 22 --localstatedir=/var/lib \
allan316@3642 23 --disable-scrollkeeper \
allan316@3642 24 --infodir=/usr/share/info \
allan316@3642 25 --mandir=/usr/share/man \
allan316@3642 26 $CONFIGURE_ARGS &&
allan316@3642 27 make && make DESTDIR=$PWD/_pkg install
allan316@3642 28 }
allan316@3642 29
allan316@3642 30 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3642 31 genpkg_rules()
allan316@3642 32 {
allan316@3642 33 mkdir -p $fs/usr/share
allan316@3642 34 cp -a $_pkg/usr/bin $fs/usr
allan316@3642 35 cp -a $_pkg/usr/share/zenity $fs/usr/share
allan316@3642 36 cp -a $_pkg/usr/share/omf $fs/usr/share
pankso@7928 37 # gdialog wrapper need to be executable.
pankso@7928 38 chmod +x $fs/usr/bin/*
allan316@3642 39 }
allan316@3642 40