wok view yad/receipt @ rev 17581

Up: elfutils 0.161
author Alexander Medvedev <devl547@gmail.com>
date Sun Feb 08 18:13:43 2015 +0000 (2015-02-08)
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 }