wok annotate yad-gtk3/receipt @ rev 25505
Up bzip3 (1.2.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 06 16:45:49 2023 +0000 (20 months ago) |
parents | ee53899c6189 |
children | 69e1e705f038 |
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" |
pascal@25457 | 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@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@14237 | 28 # Rules to configure and make the package. |
al@14237 | 29 compile_rules() |
al@14237 | 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 --with-gtk=gtk3 \ |
al@14237 | 35 --enable-icon-browser && |
Hans-G?nter@22318 | 36 make && |
Hans-G?nter@22318 | 37 make install |
al@14237 | 38 } |
al@14237 | 39 |
al@14237 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14237 | 41 genpkg_rules() |
al@14237 | 42 { |
al@19311 | 43 cook_copy_files yad yad-icon-browser |
al@19311 | 44 cook_copy_icons |
al@14237 | 45 } |