wok view libglade/receipt @ rev 3010

Add Xorg 7.4 dri2proto and glproto
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 11 22:26:05 2009 +0200 (2009-05-11)
parents dd8bb4875d43
children e5b2f931007b
line source
1 # SliTaz package receipt.
3 PACKAGE="libglade"
4 VERSION="2.6.2"
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 glib atk"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.jamesh.id.au/software/libglade/"
12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/libglade/2.6/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 --with-html-dir=/usr/share/doc \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/bin $fs/usr
35 chmod +x $fs/usr/bin/*
37 strip --strip-unneeded $fs/usr/lib/*
38 }