wok view libglade/receipt @ rev 12662
giflib: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 01 10:20:36 2012 +0200 (2012-05-01) |
parents | d883f22d45ad |
children | 0f005c2005cb |
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 $CONFIGURE_ARGS &&
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 }