wok-next view yad/receipt @ rev 17979
mtpaint: view external using GPicView, print image using Yad, view documentation online using TazWeb.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 18 17:02:44 2015 +0300 (2015-04-18) |
parents | 2bdb305cb035 |
children | 1615f4391fb0 |
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 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 }