wok view yad-gtk3/receipt @ rev 19184

Up slitaz-tools(992)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jun 04 14:08:33 2016 +0300 (2016-06-04)
parents 2a35430dc9ab
children 8aad009a4685
line source
1 # SliTaz package receipt.
3 PACKAGE="yad-gtk3"
4 VERSION="0.28.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 SOURCE="yad"
10 PROVIDE="yad:gtk+3"
11 TARBALL="$SOURCE-$VERSION.tar.xz"
12 WEB_SITE="http://sourceforge.net/projects/yad-dialog/"
13 WGET_URL="$SF_MIRROR/yad-dialog/$TARBALL"
14 TAGS="gtk3"
16 DEPENDS="gtk+3"
17 BUILD_DEPENDS="gtk+3-dev optipng"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 #patch -p1 < $stuff/ru.patch
23 ./configure \
24 --with-gtk=gtk3 \
25 --enable-icon-browser &&
26 make && 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 }