wok annotate yad-gtk2/receipt @ rev 19311
Make "yad" the virtual package with real options: "yad-gtk2" and "yad-gtk3"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jul 12 02:38:19 2016 +0300 (2016-07-12) |
parents | |
children | 4b55a51aefa5 |
rev | line source |
---|---|
al@19311 | 1 # SliTaz package receipt. |
al@19311 | 2 |
al@19311 | 3 PACKAGE="yad-gtk2" |
al@19311 | 4 VERSION="0.28.1" |
al@19311 | 5 CATEGORY="utilities" |
al@19311 | 6 SHORT_DESC="Yet Another Dialog (GTK+2)" |
al@19311 | 7 MAINTAINER="devl547@gmail.com" |
al@19311 | 8 LICENSE="GPL3" |
al@19311 | 9 WEB_SITE="https://sourceforge.net/projects/yad-dialog/" |
al@19311 | 10 TARBALL="yad-$VERSION.tar.xz" |
al@19311 | 11 WGET_URL="$SF_MIRROR/yad-dialog/$TARBALL" |
al@19311 | 12 TAGS="gtk2" |
al@19311 | 13 HOST_ARCH="i486 arm" |
al@19311 | 14 |
al@19311 | 15 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib glibc-base gtk+ \ |
al@19311 | 16 libffi libgio pango pcre zlib" |
al@19311 | 17 BUILD_DEPENDS="gtk+-dev" |
al@19311 | 18 PROVIDE="yad:gtk+" |
al@19311 | 19 SIBLINGS="yad-gtk3 yad-gtk2-html" |
al@19311 | 20 |
al@19311 | 21 # Rules to configure and make the package. |
al@19311 | 22 compile_rules() |
al@19311 | 23 { |
al@19311 | 24 patch -p1 -i $stuff/ru.patch |
al@19311 | 25 |
al@19311 | 26 ./configure \ |
al@19311 | 27 --enable-icon-browser \ |
al@19311 | 28 $CONFIGURE_ARGS && |
al@19311 | 29 make && make install |
al@19311 | 30 |
al@19311 | 31 cook_compress_png |
al@19311 | 32 } |
al@19311 | 33 |
al@19311 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19311 | 35 genpkg_rules() |
al@19311 | 36 { |
al@19311 | 37 cook_copy_files yad yad-icon-browser |
al@19311 | 38 cook_copy_icons |
al@19311 | 39 } |