wok view yad-gtk2/receipt @ rev 25457

Normazile https://sourceforge.net/projects web_sites
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 23 08:28:09 2022 +0000 (19 months ago)
parents ee53899c6189
children 69e1e705f038
line source
1 # SliTaz package receipt.
3 PACKAGE="yad-gtk2"
4 VERSION="0.40.0"
5 CATEGORY="utilities"
6 TAGS="gtk2"
7 SHORT_DESC="Yet Another Dialog (GTK+2)."
8 MAINTAINER="devl547@gmail.com"
9 LICENSE="GPL3"
10 WEB_SITE="https://sourceforge.net/projects/yad-dialog"
12 TARBALL="yad-$VERSION.tar.xz"
13 WGET_URL="$SF_MIRROR/yad-dialog/$TARBALL"
15 PROVIDE="yad"
16 SIBLINGS="yad-gtk3 yad-gtk2-html"
17 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib glibc-base gtk+ \
18 libffi libgio pango pcre zlib"
19 BUILD_DEPENDS="gtk+-dev"
21 HOST_ARCH="i486 arm"
23 # What is the latest version available today?
24 current_version()
25 {
26 wget -O - https://sourceforge.net/projects/yad-dialog/files/ 2>/dev/null | \
27 sed "/yad-/!d;/tar/!d;s|.*yad-\\(.*\\).tar.*\".*|\\1|;q"
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 patch -p1 -i $stuff/ru.patch
35 ./configure \
36 --enable-icon-browser \
37 $CONFIGURE_ARGS &&
38 make &&
39 make install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/share/icons/hicolor/32x32/
46 cp -a $install/usr/share/icons/hicolor/32x32/apps \
47 $fs/usr/share/icons/hicolor/32x32/
48 cook_copy_files yad yad-icon-browser
49 cook_copy_icons
50 }