wok view libgnomecanvasmm/receipt @ rev 22507
Up pkg-config (0.29.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 01 15:09:22 2020 +0100 (2020-01-01) |
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 }