wok-next annotate glade3/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children f56bd5e4256c
rev   line source
al@20108 1 # SliTaz package receipt v2.
pankso@615 2
pankso@615 3 PACKAGE="glade3"
al@20108 4 VERSION="3.8.6"
pascal@741 5 CATEGORY="development"
al@20108 6 SHORT_DESC="A user interface designer for GTK+2"
al@21020 7 MAINTAINER="devel@slitaz.org"
al@20108 8 LICENSE="GPL2 LGPL2"
al@20906 9 WEB_SITE="https://glade.gnome.org/"
al@20882 10 REPOLOGY="glade"
al@20108 11
al@20108 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
slaxemulator@8662 13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@615 14
al@21017 15 BUILD_DEPENDS="intltool gtk-doc gtk2-dev python-pygtk-dev python-dev itstool"
al@21020 16 SPLIT="$PACKAGE-python $PACKAGE $PACKAGE-dev"
pascal@15021 17
al@20108 18 compile_rules() {
al@20570 19 ./configure $CONFIGURE_ARGS &&
al@20570 20 fix libtool &&
al@20570 21 make &&
al@20570 22 make install
pankso@615 23 }
pankso@615 24
al@20108 25 genpkg_rules() {
al@20108 26 case $PACKAGE in
al@20108 27 *-python)
al@20108 28 copy libgladepython.so
al@20749 29 DEPENDS="glade3 glib python"
al@20108 30 CAT="python|Python bindings"
al@20108 31 ;;
al@20108 32 glade3)
al@20108 33 copy @std @rm
al@21017 34 DEPENDS="cairo gdk-pixbuf glib gtk2 libxml2 pango"
al@20108 35 ;;
al@20108 36 *-dev)
al@20108 37 copy @dev
al@20108 38 DEPENDS="glade3 glade3-python \
al@21017 39 gtk2-dev libxml2-dev"
al@20108 40 ;;
al@20108 41 esac
pankso@615 42 }