wok view glade3/receipt @ rev 5001

[f-g]*: update depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 28 15:33:01 2010 +0100 (2010-02-28)
parents 930376a7ae91
children bfd0009b4cf3
line source
1 # SliTaz package receipt.
3 PACKAGE="glade3"
4 VERSION="3.6.6"
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"
10 SUGGESTED="python"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://glade.gnome.org/"
13 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/glade3/3.6/$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 }