wok-current view libgnomecanvas/receipt @ rev 14542

firefox-langpack-id: Up to 17.0.6esr
author Dominique Corbex <domcox@slitaz.org>
date Wed May 22 21:56:58 2013 +0200 (2013-05-22)
parents d018c1db28ae
children 4904e3d374a9
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 }