wok-next view libgnomecanvas/receipt @ rev 16747

Up: bluefish (2.2.5)
author Alexander Medvedev <devl547@gmail.com>
date Sat Jun 14 19:43:22 2014 +0000 (2014-06-14)
parents 6a3b301b67e5
children 16a417e1e89d
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.gnome.org/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="gtk+ libglade libart_lgpl xorg-libXdamage xorg-libXcursor"
14 BUILD_DEPENDS="gtk+-dev libglade-dev libart_lgpl-dev xorg-libXcursor-dev \
15 intltool"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --with-html-dir=/usr/share/doc \
23 --enable-glade \
24 $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib $fs/usr/share/locale
33 # Copy shared libs
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 cp -a $install/usr/lib/libglade $fs/usr/lib
37 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
39 # Remove static libs
40 rm $fs/usr/lib/libglade/*/*.*a
41 }