wok-current view yad-gtk3/receipt @ rev 15762

Up tazinst (3.92)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 05 18:13:45 2014 +0100 (2014-01-05)
parents 2b9f96603415
children 06146445ad61
line source
1 # SliTaz package receipt.
3 PACKAGE="yad-gtk3"
4 VERSION="0.22.1"
5 CATEGORY="utilities"
6 SHORT_DESC="Display graphical dialogs from shell scripts or command line (GTK+3)"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL3"
9 TARBALL="yad-$VERSION.tar.xz"
10 WEB_SITE="http://code.google.com/p/yad/"
11 WGET_URL="http://yad.googlecode.com/files/$TARBALL"
12 TAGS="gtk3"
13 VERSION_NOTE="latest"
15 DEPENDS="gtk+3"
16 BUILD_DEPENDS="gtk+3-dev optipng"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 patch -p1 < $stuff/ru.patch
22 ./configure \
23 --with-gtk=gtk3 \
24 --enable-icon-browser &&
25 make &&
26 make install
27 optipng -quiet -zc1-9 -zm1-9 -zs0-3 -f0-5 \
28 $install/usr/share/icons/hicolor/48x48/apps/yad.png
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 usih=/usr/share/icons/hicolor
35 mkdir -p $fs$usih
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install$usih/48x48 $fs$usih
38 }