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

Up lighttpd (1.4.35)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 01 10:08:34 2015 +0200 (2015-06-01)
parents 1615f4391fb0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="yad"
4 VERSION="0.28.1"
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 # Skip optipng for arm arch
31 [ -x '/usr/bin/optipng' ] && optipng -quiet -strip all -o7 -zm1-9 \
32 $install/usr/share/icons/hicolor/48x48/apps/yad.png
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 usih=/usr/share/icons/hicolor
39 mkdir -p ${fs}$usih
40 cp -a $install/usr/bin $fs/usr
41 cp -a ${install}$usih/48x48 ${fs}$usih
42 }