wok-4.x view libgnomecanvas/receipt @ rev 11394

Fix: libgnomecanvas needs intltool to be compiled
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 10 05:21:59 2011 +0100 (2011-12-10)
parents d018c1db28ae
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libgnomecanvas"
4 VERSION="2.30.3"
5 CATEGORY="x-window"
6 SHORT_DESC="GNOME canvas library"
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.gnome.org/"
10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
12 DEPENDS="gtk+ libglade libart_lgpl xorg-libXdamage xorg-libXcursor"
13 BUILD_DEPENDS="gtk+-dev libglade-dev libart_lgpl-dev xorg-libXcursor-dev \
14 intltool"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --with-html-dir=/usr/share/doc \
22 --enable-glade \
23 $CONFIGURE_ARGS &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib $fs/usr/share/locale
32 # Copy shared libs
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/lib/libglade $fs/usr/lib
36 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
38 # Remove static libs
39 rm $fs/usr/lib/libglade/*/*.*a
40 }