wok view libgnomecanvasmm/receipt @ rev 17266
qemu: *any* cloop format support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 23 11:06:43 2014 +0200 (2014-10-23) |
parents | 4904e3d374a9 |
children | eeba7ab1dffe |
line source
1 # SliTaz package receipt.
3 PACKAGE="libgnomecanvasmm"
4 VERSION="2.26.0"
5 CATEGORY="x-window"
6 SHORT_DESC="A C++ wrapper for libgnomecanvas."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://gtkmm.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="gtkmm libgnomecanvas"
14 BUILD_DEPENDS="gtkmm-dev libgnomecanvas-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|.*glibmm/propertyproxy.h|#include <gtkmm.h>\n&|' \
20 libgnomecanvas/libgnomecanvasmm/properties.h
21 sed -i 's|gtkmm/main|gtkmm|' \
22 demos/canvas.cc \
23 libgnomecanvas/libgnomecanvasmm/init.cc \
24 examples/canvas_affine/canvas_affine.cc \
25 examples/canvas_events/canvas_events.cc
26 ./configure \
27 --sysconfdir=/etc \
28 --localstatedir=/var \
29 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }