wok-6.x view glade3/receipt @ rev 7935

tazbb and tazpkg-web: Fix and tiny improvement
author Christophe Lincoln <pankso@slitaz.org>
date Tue Jan 11 15:57:00 2011 +0100 (2011-01-11)
parents bfd0009b4cf3
children 565f6ec7e99d
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"
10 SUGGESTED="python"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://glade.gnome.org/"
13 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$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 }