wok-next view yad-gtk3/receipt @ rev 20113
Add some bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 30 09:29:31 2017 +0100 (2017-10-30) |
parents | 58744412e5b2 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="yad-gtk3"
4 VERSION="0.28.1"
5 CATEGORY="utilities"
6 SHORT_DESC="Yet Another Dialog (GTK+3)"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://sourceforge.net/projects/yad-dialog/"
10 TARBALL="yad-$VERSION.tar.xz"
11 WGET_URL="$SF_MIRROR/yad-dialog/$TARBALL"
12 TAGS="gtk3"
14 DEPENDS="atk cairo gdk-pixbuf glib glibc-base gtk+3 libffi pango pcre \
15 zlib"
16 BUILD_DEPENDS="gtk+3-dev intltool"
17 PROVIDE="yad:gtk+3"
18 SIBLINGS="yad-gtk2 yad-gtk2-html"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 export CFLAGS="$CFLAGS -fgnu89-inline"
24 patch -p1 -i $WOK/yad-gtk2/stuff/patches/ru.patch
26 ./configure \
27 --with-gtk=gtk3 \
28 --enable-icon-browser &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 copy yad yad-icon-browser
36 cook_copy_icons
37 }