wok-current annotate libglade/receipt @ rev 14554

thunderbird-langpack-es_ES: Up to 17.0.6esr
author Dominique Corbex <domcox@slitaz.org>
date Thu May 23 10:09:21 2013 +0200 (2013-05-23)
parents b7319995b37e
children 4904e3d374a9
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@2518 8 DEPENDS="gtk+ xorg-libXdamage"
pascal@12948 9 BUILD_DEPENDS="gtk+ gtk+-dev pkg-config libxml2-dev expat-dev"
slaxemulator@7103 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@36 11 WEB_SITE="http://www.jamesh.id.au/software/libglade/"
slaxemulator@7103 12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@36 13
pankso@36 14 # Rules to configure and make the package.
pankso@36 15 compile_rules()
pankso@36 16 {
pankso@36 17 cd $src
erjo@11502 18 sed -i '/DG_DISABLE_DEPRECATED/d' glade/Makefile.in || exit 1
gokhlayeh@11573 19 ./configure $CONFIGURE_ARGS &&
pascal@1481 20 make &&
slaxemulator@9488 21 make DESTDIR=$DESTDIR install
slaxemulator@9488 22 mkdir -p $DESTDIR/usr/bin
slaxemulator@9488 23 [ -f libglade-convert ] && cp -a libglade-convert $DESTDIR/usr/bin
pankso@36 24 }
pankso@36 25
pankso@36 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@36 27 genpkg_rules()
pankso@36 28 {
pankso@36 29 mkdir -p $fs/usr/lib
pankso@36 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@36 31
pankso@36 32 cp -a $_pkg/usr/bin $fs/usr
pankso@36 33 chmod +x $fs/usr/bin/*
pankso@36 34 }
pankso@36 35