wok-next view yad-gtk3/receipt @ rev 14388
embryo: update deps
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Apr 23 07:01:23 2013 +0200 (2013-04-23) |
parents | 50f5543dd76b |
children | 2b9f96603415 |
line source
1 # SliTaz package receipt.
3 PACKAGE="yad-gtk3"
4 VERSION="0.20.3"
5 CATEGORY="utilities"
6 SHORT_DESC="Display graphical dialogs from shell scripts or command line (GTK+3)"
7 MAINTAINER="devl547@gmail.com"
8 TARBALL="yad-$VERSION.tar.xz"
9 WEB_SITE="http://code.google.com/p/yad/"
10 WGET_URL="http://yad.googlecode.com/files/$TARBALL"
11 TAGS="gtk3"
12 VERSION_NOTE="latest"
14 DEPENDS="gtk+3"
15 BUILD_DEPENDS="gtk+3-dev optipng"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 patch -p1 < $stuff/ru.patch
21 ./configure \
22 --with-gtk=gtk3 \
23 --enable-icon-browser &&
24 make &&
25 make install
26 optipng -quiet -zc1-9 -zm1-9 -zs0-3 -f0-5 \
27 $install/usr/share/icons/hicolor/48x48/apps/yad.png
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p \
34 $fs/usr/share/pixmaps
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/share/icons/hicolor/48x48/apps/yad.png \
37 $fs/usr/share/pixmaps
38 }