wok annotate yad-gtk3/receipt @ rev 24975

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 02 16:22:04 2022 +0000 (2022-05-02)
parents 2537c708087e
children ad0bc3efbf37
rev   line source
al@14237 1 # SliTaz package receipt.
al@14237 2
al@14237 3 PACKAGE="yad-gtk3"
Hans-G?nter@22318 4 VERSION="0.40.0"
al@14237 5 CATEGORY="utilities"
Hans-G?nter@22318 6 TAGS="gtk3"
Hans-G?nter@22318 7 SHORT_DESC="Yet Another Dialog (GTK+3)."
al@14237 8 MAINTAINER="devl547@gmail.com"
pascal@14999 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@18045 13 WGET_URL="$SF_MIRROR/yad-dialog/$TARBALL"
al@14237 14
al@19311 15 PROVIDE="yad:gtk+3"
al@19311 16 SIBLINGS="yad-gtk2 yad-gtk2-html"
Hans-G?nter@22318 17 DEPENDS="atk cairo gdk-pixbuf glib glibc-base gtk+3 libffi libgio pango pcre \
Hans-G?nter@22318 18 zlib"
Hans-G?nter@22318 19 BUILD_DEPENDS="gtk+3-dev"
al@14237 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@14237 27 # Rules to configure and make the package.
al@14237 28 compile_rules()
al@14237 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 --with-gtk=gtk3 \
al@14237 34 --enable-icon-browser &&
Hans-G?nter@22318 35 make &&
Hans-G?nter@22318 36 make install
al@14237 37 }
al@14237 38
al@14237 39 # Rules to gen a SliTaz package suitable for Tazpkg.
al@14237 40 genpkg_rules()
al@14237 41 {
al@19311 42 cook_copy_files yad yad-icon-browser
al@19311 43 cook_copy_icons
al@14237 44 }