wok-next annotate zenity+webkit2/receipt @ rev 20424
linux-dev: move creation to compile_rules(), keep genpkg_rules() for copying/splitting only
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 12 17:02:57 2018 +0200 (2018-01-12) |
parents | |
children | d43bf7aae921 |
rev | line source |
---|---|
al@20067 | 1 # SliTaz package receipt v2. |
al@20067 | 2 |
al@20067 | 3 PACKAGE="zenity+webkit2" |
al@20067 | 4 VERSION="3.24.0" |
al@20067 | 5 CATEGORY="x-window" |
al@20067 | 6 SHORT_DESC="Display GTK+3 dialogs (with web engine WebKit2GTK)" |
al@20067 | 7 MAINTAINER="al.bobylev@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.xz" |
al@20067 | 12 WGET_URL="$GNOME_MIRROR/zenity/${VERSION%.*}/$TARBALL" |
al@20067 | 13 |
al@20067 | 14 BUILD_DEPENDS="gtk+3-dev glib-dev libnotify-gtk3-dev webkit2gtk-dev gettext \ |
al@20067 | 15 itstool" |
al@20067 | 16 SPLIT="zenity+webkit2-gnome zenity+webkit2" |
al@20067 | 17 SIBLINGS="zenity" |
al@20067 | 18 |
al@20067 | 19 compile_rules() { |
al@20067 | 20 ./configure $CONFIGURE_ARGS && make && make install |
al@20067 | 21 } |
al@20067 | 22 |
al@20067 | 23 genpkg_rules() { |
al@20067 | 24 case $PACKAGE in |
al@20067 | 25 *-gnome) |
al@20067 | 26 copy help/ |
al@20067 | 27 CAT="gnome|GNOME integration" |
al@20067 | 28 ;; |
al@20067 | 29 zenity+webkit2) |
al@20067 | 30 copy @std |
al@20067 | 31 remove_already_packed |
al@20067 | 32 DEPENDS="atk cairo gdk-pixbuf glib gtk+3 libnotify-gtk3 libsoup \ |
al@20067 | 33 pango webkit2gtk xorg-libX11" |
al@20067 | 34 PROVIDE="webkit2gtk:zenity" |
al@20067 | 35 TAGS="dialogs" |
al@20067 | 36 ;; |
al@20067 | 37 esac |
al@20067 | 38 } |
al@20067 | 39 |