wok-next annotate libglade/receipt @ rev 20859

Update ALSA stack (1.1.6)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 27 13:35:43 2018 +0300 (2018-06-27)
parents 0e7893ac206d
children f48456621a9d
rev   line source
al@20443 1 # SliTaz package receipt v2.
pankso@36 2
pankso@36 3 PACKAGE="libglade"
slaxemulator@6169 4 VERSION="2.6.4"
pankso@211 5 CATEGORY="x-window"
al@20443 6 SHORT_DESC="The Glade libs"
pankso@36 7 MAINTAINER="pankso@slitaz.org"
pascal@15004 8 LICENSE="LGPL2"
al@19683 9 WEB_SITE="https://developer.gnome.org/libglade/"
pankso@36 10
al@19683 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@19683 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
al@19683 13
al@19683 14 BUILD_DEPENDS="gtk+-dev"
al@20443 15 SPLIT="libglade-dev"
pascal@14714 16
al@20443 17 compile_rules() {
erjo@11502 18 sed -i '/DG_DISABLE_DEPRECATED/d' glade/Makefile.in || exit 1
al@19683 19 mkdir po; touch po/POTFILES.in
al@19683 20
al@19683 21 ./configure \
al@19683 22 --disable-static \
al@19683 23 $CONFIGURE_ARGS &&
al@20443 24 fix libtool &&
pascal@1481 25 make &&
al@19683 26 make install
pankso@36 27 }
pankso@36 28
al@20443 29 genpkg_rules() {
al@20443 30 case $PACKAGE in
al@20443 31 libglade)
al@20443 32 copy @std
al@20443 33 DEPENDS="atk gdk-pixbuf glib gtk+ libxml2 pango"
al@20443 34 ;;
al@20443 35 *-dev)
al@20443 36 copy @dev
al@20443 37 DEPENDS="libglade gtk+-dev libxml2-dev"
al@20443 38 ;;
al@20443 39 esac
pankso@36 40 }