# SliTaz package receipt. PACKAGE="yad-gtk2-html" VERSION="0.40.0" CATEGORY="utilities" TAGS="gtk2" SHORT_DESC="Yet Another Dialog (GTK+2, with HTML widget)." MAINTAINER="devl547@gmail.com" LICENSE="GPL3" WEB_SITE="https://sourceforge.net/projects/yad-dialog/" TARBALL="yad-$VERSION.tar.xz" WGET_URL="$SF_MIRROR/yad-dialog/$TARBALL" PROVIDE="yad-gtk2:libwebkit yad-html" SIBLINGS="yad-gtk2 yad-gtk3" DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib glibc-base gtk+ libffi \ libgio libsoup libwebkit pango pcre zlib" BUILD_DEPENDS="gtk+-dev libwebkit-dev" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/yad-dialog/files/ 2>/dev/null | \ sed "/yad-/!d;/tar/!d;s|.*yad-\\(.*\\).tar.*\".*|\\1|;q" } # Rules to configure and make the package. compile_rules() { patch -p1 -i $WOK/yad-gtk2/stuff/ru.patch ./configure \ --enable-icon-browser \ --enable-html \ $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_files yad yad-icon-browser cook_copy_icons }