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

created recipe for alsa-utils-lang
author Hans-G?nter Theisgen
date Sat Jun 11 08:40:38 2022 +0100 (2022-06-11)
parents 2537c708087e
children ad0bc3efbf37
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"
al@19311 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@24071 21 current_version()
pascal@24071 22 {
pascal@24071 23 wget -O - https://sourceforge.net/projects/yad-dialog/files/ 2>/dev/null | \
pascal@24071 24 sed "/yad-/!d;/tar/!d;s|.*yad-\\(.*\\).tar.*\".*|\\1|;q"
pascal@24071 25 }
pascal@24071 26
al@19311 27 # Rules to configure and make the package.
al@19311 28 compile_rules()
al@19311 29 {
al@19311 30 patch -p1 -i $WOK/yad-gtk2/stuff/ru.patch
al@19311 31
Hans-G?nter@22318 32 ./configure \
Hans-G?nter@22318 33 --enable-icon-browser \
Hans-G?nter@22318 34 --enable-html \
al@19311 35 $CONFIGURE_ARGS &&
Hans-G?nter@22318 36 make &&
Hans-G?nter@22318 37 make install
al@19311 38 }
al@19311 39
al@19311 40 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19311 41 genpkg_rules()
al@19311 42 {
al@19311 43 cook_copy_files yad yad-icon-browser
al@19311 44 cook_copy_icons
al@19311 45 }