wok-next view libgnomecanvasmm/receipt @ rev 20863

Up: gawk (4.2.1), kmod (25), less (530), irssi (1.1.1), irssi-scripts (latest)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 28 12:30:17 2018 +0300 (2018-06-28)
parents 757d032c55c7
children a3c581bf52b8
line source
1 # SliTaz package receipt v2.
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="gfortran gtkmm-dev libgnomecanvas-dev"
15 SPLIT="libgnomecanvasmm-dev"
17 compile_rules() {
18 sed -i 's|.*glibmm/propertyproxy.h|#include <gtkmm.h>\n&|' \
19 libgnomecanvas/libgnomecanvasmm/properties.h
20 sed -i 's|gtkmm/main|gtkmm|' \
21 demos/canvas.cc \
22 libgnomecanvas/libgnomecanvasmm/init.cc \
23 examples/canvas_affine/canvas_affine.cc \
24 examples/canvas_events/canvas_events.cc
26 ./configure $CONFIGURE_ARGS &&
27 fix libtool &&
28 make &&
29 make install
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 libgnomecanvasmm)
35 copy @std
36 DEPENDS="atkmm gdk-pixbuf glib glibmm gtkmm libart_lgpl \
37 libgnomecanvas libsigc++ pangomm"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="libgnomecanvasmm gtkmm-dev libgnomecanvas-dev"
42 ;;
43 esac
44 }