wok-current view yad-html/receipt @ rev 18757
syslinux: compress c32 modules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 29 08:59:31 2015 +0100 (2015-12-29) |
parents | |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="yad-html"
4 VERSION="0.28.1"
5 CATEGORY="utilities"
6 SHORT_DESC="Display graphical dialogs from shell scripts or command line (with HTML widget)"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL3"
9 SOURCE="yad"
10 PROVIDE="yad:libwebkit"
11 TARBALL="$SOURCE-$VERSION.tar.xz"
12 WEB_SITE="http://sourceforge.net/projects/yad-dialog/"
13 WGET_URL="$SF_MIRROR/yad-dialog/$TARBALL"
14 TAGS="gtk2"
16 DEPENDS="gtk+ libwebkit"
17 BUILD_DEPENDS="gtk+-dev optipng libwebkit-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --enable-icon-browser \
24 --enable-html \
25 $CONFIGURE_ARGS &&
26 make && make install &&
27 optipng -quiet -strip all -o7 -zm1-9 \
28 $install/usr/share/icons/hicolor/48x48/apps/yad.png
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 usih=/usr/share/icons/hicolor
35 mkdir -p ${fs}$usih
36 cp -a $install/usr/bin $fs/usr
37 cp -a ${install}$usih/48x48 ${fs}$usih
38 }