wok-current view yad-gtk2/receipt @ rev 24056
Up zstd (1.5.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 08 09:29:15 2021 +0000 (2021-06-08) |
parents | 2537c708087e |
children | ee53899c6189 |
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 # Rules to configure and make the package.
24 compile_rules()
25 {
26 patch -p1 -i $stuff/ru.patch
28 ./configure \
29 --enable-icon-browser \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share/icons/hicolor/32x32/
39 cp -a $install/usr/share/icons/hicolor/32x32/apps \
40 $fs/usr/share/icons/hicolor/32x32/
41 cook_copy_files yad yad-icon-browser
42 cook_copy_icons
43 }