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

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