wok-6.x view yad/receipt @ rev 17644

Up: transmission-remote-gtk 1.1.1
author Alexander Medvedev <devl547@gmail.com>
date Sat Feb 14 21:34:50 2015 +0000 (2015-02-14)
parents 70a0e8ec8955
children 2bdb305cb035
line source
1 # SliTaz package receipt.
3 PACKAGE="yad"
4 VERSION="0.27.0"
5 CATEGORY="utilities"
6 SHORT_DESC="Display graphical dialogs from shell scripts or command line"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://sourceforge.net/projects/yad-dialog/"
11 WGET_URL="$SF_MIRROR/yad-dialog/$TARBALL"
12 TAGS="gtk2"
13 HOST_ARCH="i486 arm"
15 DEPENDS="gtk+"
16 BUILD_DEPENDS="gtk+-dev"
18 case "$ARCH" in
19 i?86) BUILD_DEPENDS="$BUILD_DEPENDS optipng" ;;
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 #patch -p1 < $stuff/ru.patch
26 ./configure \
27 --enable-icon-browser \
28 $CONFIGURE_ARGS &&
29 make && make install &&
30 optipng -quiet -strip all -o7 -zm1-9 \
31 $install/usr/share/icons/hicolor/48x48/apps/yad.png
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 usih=/usr/share/icons/hicolor
38 mkdir -p ${fs}$usih
39 cp -a $install/usr/bin $fs/usr
40 cp -a ${install}$usih/48x48 ${fs}$usih
41 }