wok-next annotate libglade/receipt @ rev 18101

Up lighttpd (1.4.35)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 01 10:08:34 2015 +0200 (2015-06-01)
parents a00bf44ed23d
children 3c8c4006ed5c
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@15004 8 LICENSE="LGPL2"
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@16269 12 HOST_ARCH="i486 arm"
pankso@36 13
pascal@14714 14 DEPENDS="gtk+ xorg-libXdamage"
pascal@14714 15 BUILD_DEPENDS="gtk+ gtk+-dev pkg-config libxml2-dev expat-dev"
pascal@14714 16
pankso@36 17 # Rules to configure and make the package.
pankso@36 18 compile_rules()
pankso@36 19 {
pankso@36 20 cd $src
erjo@11502 21 sed -i '/DG_DISABLE_DEPRECATED/d' glade/Makefile.in || exit 1
pascal@14715 22 ./configure $CONFIGURE_ARGS 2>&1 | grep -v POTFILES.in &&
pascal@1481 23 make &&
slaxemulator@9488 24 make DESTDIR=$DESTDIR install
slaxemulator@9488 25 mkdir -p $DESTDIR/usr/bin
slaxemulator@9488 26 [ -f libglade-convert ] && cp -a libglade-convert $DESTDIR/usr/bin
pankso@36 27 }
pankso@36 28
pankso@36 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@36 30 genpkg_rules()
pankso@36 31 {
pankso@36 32 mkdir -p $fs/usr/lib
pascal@14714 33 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@36 34
pascal@14714 35 cp -a $install/usr/bin $fs/usr
pankso@36 36 chmod +x $fs/usr/bin/*
pankso@36 37 }
pankso@36 38