wok annotate yad-gtk3/receipt @ rev 15080

libmatchbox: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 13 17:56:32 2013 +0000 (2013-08-13)
parents 695e22e54749
children 2a35430dc9ab
rev   line source
al@14237 1 # SliTaz package receipt.
al@14237 2
al@14237 3 PACKAGE="yad-gtk3"
al@14349 4 VERSION="0.20.3"
al@14237 5 CATEGORY="utilities"
al@14237 6 SHORT_DESC="Display graphical dialogs from shell scripts or command line (GTK+3)"
al@14237 7 MAINTAINER="devl547@gmail.com"
pascal@14999 8 LICENSE="GPL3"
al@14237 9 TARBALL="yad-$VERSION.tar.xz"
al@14237 10 WEB_SITE="http://code.google.com/p/yad/"
al@14237 11 WGET_URL="http://yad.googlecode.com/files/$TARBALL"
al@14237 12 TAGS="gtk3"
al@14349 13 VERSION_NOTE="latest"
al@14237 14
al@14237 15 DEPENDS="gtk+3"
al@14349 16 BUILD_DEPENDS="gtk+3-dev optipng"
al@14237 17
al@14237 18 # Rules to configure and make the package.
al@14237 19 compile_rules()
al@14237 20 {
al@14237 21 patch -p1 < $stuff/ru.patch
al@14237 22 ./configure \
al@14237 23 --with-gtk=gtk3 \
al@14237 24 --enable-icon-browser &&
al@14237 25 make &&
al@14237 26 make install
al@14349 27 optipng -quiet -zc1-9 -zm1-9 -zs0-3 -f0-5 \
al@14349 28 $install/usr/share/icons/hicolor/48x48/apps/yad.png
al@14237 29 }
al@14237 30
al@14237 31 # Rules to gen a SliTaz package suitable for Tazpkg.
al@14237 32 genpkg_rules()
al@14237 33 {
al@14237 34 mkdir -p \
al@14237 35 $fs/usr/share/pixmaps
al@14237 36 cp -a $install/usr/bin $fs/usr
al@14237 37 cp -a $install/usr/share/icons/hicolor/48x48/apps/yad.png \
al@14237 38 $fs/usr/share/pixmaps
al@14237 39 }