wok diff zenity/receipt @ rev 18422

naim: rece condition
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 21 11:28:06 2015 +0200 (2015-09-21)
parents 95794597e819
children 6e8b1bcb30e2
line diff
     1.1 --- a/zenity/receipt	Sat Mar 19 18:59:15 2011 +0100
     1.2 +++ b/zenity/receipt	Mon Sep 21 11:28:06 2015 +0200
     1.3 @@ -5,14 +5,16 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="gui dialogs"
     1.6  MAINTAINER="allan316@gmail.com"
     1.7 -DEPENDS="gtk+ libglade libnotify"
     1.8 -BUILD_DEPENDS="gnome-doc-utils gnome-doc-utils-dev libglade-dev \
     1.9 -intltool pkg-config docbook-xsl"
    1.10 +LICENSE="LGPL2"
    1.11  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12  WEB_SITE="http://www.gnome.org"
    1.13  WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.14  TAGS="dialogs gui"
    1.15  
    1.16 +DEPENDS="gtk+ libglade libnotify"
    1.17 +BUILD_DEPENDS="gnome-doc-utils gnome-doc-utils-dev libglade-dev \
    1.18 +intltool pkg-config docbook-xsl"
    1.19 +
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22  {
    1.23 @@ -24,16 +26,16 @@
    1.24  		--infodir=/usr/share/info \
    1.25  		--mandir=/usr/share/man \
    1.26  		$CONFIGURE_ARGS &&
    1.27 -	make && make DESTDIR=$PWD/_pkg install
    1.28 +	make && make DESTDIR=$DESTDIR install
    1.29  }
    1.30  
    1.31  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.32  genpkg_rules()
    1.33  {
    1.34  	mkdir -p $fs/usr/share
    1.35 -	cp -a $_pkg/usr/bin $fs/usr
    1.36 -	cp -a $_pkg/usr/share/zenity $fs/usr/share
    1.37 -	cp -a $_pkg/usr/share/omf $fs/usr/share
    1.38 +	cp -a $install/usr/bin $fs/usr
    1.39 +	cp -a $install/usr/share/zenity $fs/usr/share
    1.40 +	cp -a $install/usr/share/omf $fs/usr/share
    1.41  	# gdialog wrapper need to be executable.
    1.42  	chmod +x $fs/usr/bin/*
    1.43  }