wok view yad-gtk2-html/receipt @ rev 25457

Normazile https://sourceforge.net/projects web_sites
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 23 08:28:09 2022 +0000 (19 months ago)
parents ee53899c6189
children 69e1e705f038
line source
1 # SliTaz package receipt.
3 PACKAGE="yad-gtk2-html"
4 VERSION="0.40.0"
5 CATEGORY="utilities"
6 TAGS="gtk2"
7 SHORT_DESC="Yet Another Dialog (GTK+2, with HTML widget)."
8 MAINTAINER="devl547@gmail.com"
9 LICENSE="GPL3"
10 WEB_SITE="https://sourceforge.net/projects/yad-dialog"
12 TARBALL="yad-$VERSION.tar.xz"
13 WGET_URL="$SF_MIRROR/yad-dialog/$TARBALL"
15 PROVIDE="yad-gtk2:libwebkit yad-html"
16 SIBLINGS="yad-gtk2 yad-gtk3"
17 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib glibc-base gtk+ libffi \
18 libgio libsoup libwebkit pango pcre zlib"
19 BUILD_DEPENDS="gtk+-dev libwebkit-dev"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - https://sourceforge.net/projects/yad-dialog/files/ 2>/dev/null | \
25 sed "/yad-/!d;/tar/!d;s|.*yad-\\(.*\\).tar.*\".*|\\1|;q"
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 patch -p1 -i $WOK/yad-gtk2/stuff/ru.patch
33 ./configure \
34 --enable-icon-browser \
35 --enable-html \
36 $CONFIGURE_ARGS &&
37 make &&
38 make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 cook_copy_files yad yad-icon-browser
45 cook_copy_icons
46 }