wok annotate yad-gtk2-html/receipt @ rev 19311

Make "yad" the virtual package with real options: "yad-gtk2" and "yad-gtk3"
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jul 12 02:38:19 2016 +0300 (2016-07-12)
parents
children 4b55a51aefa5
rev   line source
al@19311 1 # SliTaz package receipt.
al@19311 2
al@19311 3 PACKAGE="yad-gtk2-html"
al@19311 4 VERSION="0.28.1"
al@19311 5 CATEGORY="utilities"
al@19311 6 SHORT_DESC="Yet Another Dialog (GTK+2, with HTML widget)"
al@19311 7 MAINTAINER="devl547@gmail.com"
al@19311 8 LICENSE="GPL3"
al@19311 9 WEB_SITE="https://sourceforge.net/projects/yad-dialog/"
al@19311 10 TARBALL="yad-$VERSION.tar.xz"
al@19311 11 WGET_URL="$SF_MIRROR/yad-dialog/$TARBALL"
al@19311 12 TAGS="gtk2"
al@19311 13
al@19311 14 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib glibc-base gtk+ libffi \
al@19311 15 libgio libsoup libwebkit pango pcre zlib"
al@19311 16 BUILD_DEPENDS="gtk+-dev libwebkit-dev"
al@19311 17 PROVIDE="yad-gtk2:libwebkit yad-html"
al@19311 18 SIBLINGS="yad-gtk2 yad-gtk3"
al@19311 19
al@19311 20 # Rules to configure and make the package.
al@19311 21 compile_rules()
al@19311 22 {
al@19311 23 patch -p1 -i $WOK/yad-gtk2/stuff/ru.patch
al@19311 24
al@19311 25 ./configure \
al@19311 26 --enable-icon-browser \
al@19311 27 --enable-html \
al@19311 28 $CONFIGURE_ARGS &&
al@19311 29 make && make install
al@19311 30
al@19311 31 cook_compress_png
al@19311 32 }
al@19311 33
al@19311 34 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19311 35 genpkg_rules()
al@19311 36 {
al@19311 37 cook_copy_files yad yad-icon-browser
al@19311 38 cook_copy_icons
al@19311 39 }