wok annotate zenity/receipt @ rev 8703
add:: ndoutils
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Feb 17 23:12:37 2011 +0100 (2011-02-17) |
parents | b38027a04252 |
children | 95794597e819 |
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" |
slaxemulator@7628 | 9 BUILD_DEPENDS="gnome-doc-utils gnome-doc-utils-dev libglade-dev intltool pkg-config" |
slaxemulator@7322 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
allan316@3642 | 11 WEB_SITE="http://www.gnome.org" |
slaxemulator@7322 | 12 WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
jozee@4978 | 13 TAGS="dialogs gui" |
allan316@3642 | 14 |
allan316@3642 | 15 # Rules to configure and make the package. |
allan316@3642 | 16 compile_rules() |
allan316@3642 | 17 { |
allan316@3642 | 18 cd $src |
allan316@3642 | 19 ./configure \ |
allan316@3642 | 20 --prefix=/usr \ |
allan316@3642 | 21 --localstatedir=/var/lib \ |
allan316@3642 | 22 --disable-scrollkeeper \ |
allan316@3642 | 23 --infodir=/usr/share/info \ |
allan316@3642 | 24 --mandir=/usr/share/man \ |
allan316@3642 | 25 $CONFIGURE_ARGS && |
allan316@3642 | 26 make && make DESTDIR=$PWD/_pkg install |
allan316@3642 | 27 } |
allan316@3642 | 28 |
allan316@3642 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3642 | 30 genpkg_rules() |
allan316@3642 | 31 { |
allan316@3642 | 32 mkdir -p $fs/usr/share |
allan316@3642 | 33 cp -a $_pkg/usr/bin $fs/usr |
allan316@3642 | 34 cp -a $_pkg/usr/share/zenity $fs/usr/share |
allan316@3642 | 35 cp -a $_pkg/usr/share/omf $fs/usr/share |
pankso@7928 | 36 # gdialog wrapper need to be executable. |
pankso@7928 | 37 chmod +x $fs/usr/bin/* |
allan316@3642 | 38 } |
allan316@3642 | 39 |