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

pango: fix post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 30 17:08:09 2014 +0200 (2014-03-30)
parents 3b8da0bc3a5d
children 62b66edb40b5
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 LICENSE="LGPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.jamesh.id.au/software/libglade/"
11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="gtk+ xorg-libXdamage"
14 BUILD_DEPENDS="gtk+ gtk+-dev pkg-config libxml2-dev expat-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i '/DG_DISABLE_DEPRECATED/d' glade/Makefile.in || exit 1
21 ./configure $CONFIGURE_ARGS 2>&1 | grep -v POTFILES.in &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 mkdir -p $DESTDIR/usr/bin
25 [ -f libglade-convert ] && cp -a libglade-convert $DESTDIR/usr/bin
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 cp -a $install/usr/bin $fs/usr
35 chmod +x $fs/usr/bin/*
36 }