wok view yad/receipt @ rev 18044
yad: update depends
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Tue May 12 19:26:09 2015 -0400 (2015-05-12) |
parents | e1f1cf2801ec |
children | 06146445ad61 |
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+ libwebkit"
16 BUILD_DEPENDS="gtk+-dev"
18 case "$ARCH" in
19 i?86) BUILD_DEPENDS="$BUILD_DEPENDS optipng libwebkit-dev"
20 DEPENDS="$DEPENDS libwebkit" ;;
21 esac
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 #patch -p1 < $stuff/ru.patch
27 ./configure \
28 --enable-icon-browser \
29 --enable-html \
30 $CONFIGURE_ARGS &&
31 make && make install &&
32 optipng -quiet -strip all -o7 -zm1-9 \
33 $install/usr/share/icons/hicolor/48x48/apps/yad.png
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 usih=/usr/share/icons/hicolor
40 mkdir -p ${fs}$usih
41 cp -a $install/usr/bin $fs/usr
42 cp -a ${install}$usih/48x48 ${fs}$usih
43 }