wok annotate yad-html/receipt @ rev 18701

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