wok view libgnomecanvas/receipt @ rev 37

Add : libgnome* (needed by Abiword)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Dec 18 14:10:13 2007 +0100 (2007-12-18)
parents
children 2e7632ae94b9
line source
1 # SliTaz package receipt.
3 PACKAGE="libgnomecanvas"
4 VERSION="2.14.0"
5 CATEGORY="extra"
6 SHORT_DESC="GNOME canvas library"
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libglade"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.gnome.org/"
11 WGET_URL=" http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/2.14/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 --with-html-dir=/usr/share/doc \
22 $CONFIGURE_ARGS
23 make
24 make DESTDIR=$PWD/_pkg 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
41 strip -s $fs/usr/lib/* 2>/dev/null
42 strip $fs/usr/lib/libglade/*/*.so
43 }