wok-next annotate zenity-gtk2/receipt @ rev 20500

Tiny edits: fix permissions and avoid out-of-tree files.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Mar 15 20:43:55 2018 +0200 (2018-03-15)
parents
children 757d032c55c7
rev   line source
al@20067 1 # SliTaz package receipt v2.
al@20067 2
al@20067 3 PACKAGE="zenity-gtk2"
al@20067 4 VERSION="2.32.1" # GTK+2 was deprecated in newer versions of zenity
al@20067 5 CATEGORY="development"
al@20067 6 SHORT_DESC="gui dialogs"
al@20067 7 MAINTAINER="allan316@gmail.com"
al@20067 8 LICENSE="LGPL2"
al@20067 9 WEB_SITE="https://wiki.gnome.org/Projects/Zenity"
al@20067 10
al@20067 11 TARBALL="zenity-$VERSION.tar.bz2"
al@20067 12 WGET_URL="$GNOME_MIRROR/zenity/${VERSION%.*}/$TARBALL"
al@20067 13
al@20067 14 BUILD_DEPENDS="gnome-doc-utils-dev intltool gtk+-dev" # + libnotify-dev -> crash on build. FIXME
al@20067 15
al@20067 16 compile_rules() {
al@20067 17 ./configure \
al@20067 18 --disable-scrollkeeper \
al@20067 19 $CONFIGURE_ARGS &&
al@20067 20 make && make install
al@20067 21 }
al@20067 22
al@20067 23 genpkg_rules() {
al@20067 24 copy @std
al@20067 25 rm -r $fs/usr/share/gnome/ $fs/usr/share/omf/ # GNOME stuff. Just remove it
al@20067 26 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ pango \
al@20067 27 xorg-libX11"
al@20067 28 TAGS="dialogs gui"
al@20067 29 }