wok annotate yad-gtk2/receipt @ rev 24414
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 10 11:43:39 2022 +0000 (2022-02-10) |
parents | f96e26cdfd7a |
children | ad0bc3efbf37 |
rev | line source |
---|---|
al@19311 | 1 # SliTaz package receipt. |
al@19311 | 2 |
al@19311 | 3 PACKAGE="yad-gtk2" |
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)." |
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@19545 | 15 PROVIDE="yad" |
al@19311 | 16 SIBLINGS="yad-gtk3 yad-gtk2-html" |
Hans-G?nter@22318 | 17 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib glibc-base gtk+ \ |
Hans-G?nter@22318 | 18 libffi libgio pango pcre zlib" |
Hans-G?nter@22318 | 19 BUILD_DEPENDS="gtk+-dev" |
Hans-G?nter@22318 | 20 |
Hans-G?nter@22318 | 21 HOST_ARCH="i486 arm" |
al@19311 | 22 |
pascal@24071 | 23 current_version() |
pascal@24071 | 24 { |
pascal@24071 | 25 wget -O - https://sourceforge.net/projects/yad-dialog/files/ 2>/dev/null | \ |
pascal@24071 | 26 sed "/yad-/!d;/tar/!d;s|.*yad-\\(.*\\).tar.*\".*|\\1|;q" |
pascal@24071 | 27 } |
pascal@24071 | 28 |
al@19311 | 29 # Rules to configure and make the package. |
al@19311 | 30 compile_rules() |
al@19311 | 31 { |
al@19311 | 32 patch -p1 -i $stuff/ru.patch |
al@19311 | 33 |
Hans-G?nter@22318 | 34 ./configure \ |
Hans-G?nter@22318 | 35 --enable-icon-browser \ |
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 { |
pascal@23908 | 44 mkdir -p $fs/usr/share/icons/hicolor/32x32/ |
pascal@23908 | 45 cp -a $install/usr/share/icons/hicolor/32x32/apps \ |
pascal@23908 | 46 $fs/usr/share/icons/hicolor/32x32/ |
al@19311 | 47 cook_copy_files yad yad-icon-browser |
al@19311 | 48 cook_copy_icons |
al@19311 | 49 } |