wok view libgnomecanvasmm/receipt @ rev 22072
updated ufw (0.34 -> 0.36)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Oct 25 16:22:34 2019 +0100 (2019-10-25) |
parents | 140ee6de0635 |
children | 6831608a1b2a |
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="https://www.gtkmm.org/en/"
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 }