wok view glade3/receipt @ rev 8688

Fix bdep: spandsp need intltool to compile
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Feb 17 18:59:56 2011 +0100 (2011-02-17)
parents c843ec446fd7
children ec2866e70c1b
line source
1 # SliTaz package receipt.
3 PACKAGE="glade3"
4 VERSION="3.6.7"
5 CATEGORY="development"
6 SHORT_DESC="Vector drawing application."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libglade xorg-libXdamage"
9 BUILD_DEPENDS="gtk+-dev libglade-dev intltool libxml2-dev expat-dev python"
10 SUGGESTED="python"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://glade.gnome.org/"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --with-html-dir=/usr/share/doc \
22 --disable-scrollkeeper \
23 $CONFIGURE_ARGS
24 # Doc doesn't built
25 sed -i 's/= help/=/' Makefile
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/usr/lib/glade3 $fs/usr/lib
37 rm $fs/usr/lib/glade3/modules/*.*a
38 cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* \
39 $fs/usr/share/pixmaps
40 cp -a $_pkg/usr/share/glade3 $fs/usr/share
41 }