wok-6.x view libglade/receipt @ rev 11502

libglade: Try to fix build
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Dec 22 10:46:12 2011 +0100 (2011-12-22)
parents 68e838ee19d4
children b7319995b37e
line source
1 # SliTaz package receipt.
3 PACKAGE="libglade"
4 VERSION="2.6.4"
5 CATEGORY="x-window"
6 SHORT_DESC="The Glade libs."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ xorg-libXdamage"
9 BUILD_DEPENDS="gtk+ gtk+-dev pkg-config libxml2-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.jamesh.id.au/software/libglade/"
12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i '/DG_DISABLE_DEPRECATED/d' glade/Makefile.in || exit 1
19 ./configure &&
20 make &&
21 make DESTDIR=$DESTDIR install
22 mkdir -p $DESTDIR/usr/bin
23 [ -f libglade-convert ] && cp -a libglade-convert $DESTDIR/usr/bin
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/bin $fs/usr
33 chmod +x $fs/usr/bin/*
34 }