wok-current view yad/receipt @ rev 14517
linux: fix local privilege escalation 0day, 2.6.37 - 3.8.10
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 16 16:02:27 2013 +0200 (2013-05-16) |
parents | 50f5543dd76b |
children | 2b9f96603415 |
line source
1 # SliTaz package receipt.
3 PACKAGE="yad"
4 VERSION="0.20.3"
5 CATEGORY="utilities"
6 SHORT_DESC="Display graphical dialogs from shell scripts or command line"
7 MAINTAINER="devl547@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.xz"
9 WEB_SITE="http://code.google.com/p/yad/"
10 WGET_URL="http://yad.googlecode.com/files/$TARBALL"
11 TAGS="gtk2"
12 VERSION_NOTE="latest"
14 DEPENDS="gtk+"
15 BUILD_DEPENDS="gtk+-dev optipng"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 patch -p1 < $stuff/ru.patch
21 ./configure \
22 --enable-icon-browser &&
23 make &&
24 make install
25 optipng -quiet -zc1-9 -zm1-9 -zs0-3 -f0-5 \
26 $install/usr/share/icons/hicolor/48x48/apps/yad.png
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p \
33 $fs/usr/share/pixmaps
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/icons/hicolor/48x48/apps/yad.png \
36 $fs/usr/share/pixmaps
37 }