wok view yad-gtk2/receipt @ rev 24463
updated dar (2.6.7 -> 2.7.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 17 07:23:25 2022 +0100 (2022-02-17) |
parents | f96e26cdfd7a |
children | ad0bc3efbf37 |
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 current_version()
24 {
25 wget -O - https://sourceforge.net/projects/yad-dialog/files/ 2>/dev/null | \
26 sed "/yad-/!d;/tar/!d;s|.*yad-\\(.*\\).tar.*\".*|\\1|;q"
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 patch -p1 -i $stuff/ru.patch
34 ./configure \
35 --enable-icon-browser \
36 $CONFIGURE_ARGS &&
37 make &&
38 make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/share/icons/hicolor/32x32/
45 cp -a $install/usr/share/icons/hicolor/32x32/apps \
46 $fs/usr/share/icons/hicolor/32x32/
47 cook_copy_files yad yad-icon-browser
48 cook_copy_icons
49 }