wok-6.x annotate libglade/receipt @ rev 14715

libgpg-error, libglade: remove wrong error trigger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 11 10:56:08 2013 +0200 (2013-06-11)
parents 4904e3d374a9
children a00bf44ed23d
rev   line source
pankso@36 1 # SliTaz package receipt.
pankso@36 2
pankso@36 3 PACKAGE="libglade"
slaxemulator@6169 4 VERSION="2.6.4"
pankso@211 5 CATEGORY="x-window"
pankso@36 6 SHORT_DESC="The Glade libs."
pankso@36 7 MAINTAINER="pankso@slitaz.org"
pascal@14714 8 LICENSE="GPL2"
slaxemulator@7103 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@36 10 WEB_SITE="http://www.jamesh.id.au/software/libglade/"
slaxemulator@7103 11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@36 12
pascal@14714 13 DEPENDS="gtk+ xorg-libXdamage"
pascal@14714 14 BUILD_DEPENDS="gtk+ gtk+-dev pkg-config libxml2-dev expat-dev"
pascal@14714 15
pankso@36 16 # Rules to configure and make the package.
pankso@36 17 compile_rules()
pankso@36 18 {
pankso@36 19 cd $src
erjo@11502 20 sed -i '/DG_DISABLE_DEPRECATED/d' glade/Makefile.in || exit 1
pascal@14715 21 ./configure $CONFIGURE_ARGS 2>&1 | grep -v POTFILES.in &&
pascal@1481 22 make &&
slaxemulator@9488 23 make DESTDIR=$DESTDIR install
slaxemulator@9488 24 mkdir -p $DESTDIR/usr/bin
slaxemulator@9488 25 [ -f libglade-convert ] && cp -a libglade-convert $DESTDIR/usr/bin
pankso@36 26 }
pankso@36 27
pankso@36 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@36 29 genpkg_rules()
pankso@36 30 {
pankso@36 31 mkdir -p $fs/usr/lib
pascal@14714 32 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@36 33
pascal@14714 34 cp -a $install/usr/bin $fs/usr
pankso@36 35 chmod +x $fs/usr/bin/*
pankso@36 36 }
pankso@36 37