wok-next view yad/receipt @ rev 17759

hsetroot, wbar: link with libX11
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 10 08:31:24 2015 +0100 (2015-03-10)
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 }