wok-current annotate libgnomecanvasmm/receipt @ rev 22064

updated twisted (13.2.0 -> 19.7.0)
author Hans-G?nter Theisgen
date Thu Oct 24 17:19:52 2019 +0100 (2019-10-24)
parents 140ee6de0635
children 6831608a1b2a
rev   line source
slaxemulator@13120 1 # SliTaz package receipt.
slaxemulator@13120 2
slaxemulator@13120 3 PACKAGE="libgnomecanvasmm"
slaxemulator@13120 4 VERSION="2.26.0"
slaxemulator@13120 5 CATEGORY="x-window"
slaxemulator@13120 6 SHORT_DESC="A C++ wrapper for libgnomecanvas."
slaxemulator@13120 7 MAINTAINER="slaxemulator@gmail.com"
pascal@14714 8 LICENSE="LGPL2.1"
pascal@20674 9 WEB_SITE="https://www.gtkmm.org/en/"
slaxemulator@13120 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@13120 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
slaxemulator@13120 12
slaxemulator@13120 13 DEPENDS="gtkmm libgnomecanvas"
slaxemulator@13120 14 BUILD_DEPENDS="gtkmm-dev libgnomecanvas-dev"
slaxemulator@13120 15
slaxemulator@13120 16 # Rules to configure and make the package.
slaxemulator@13120 17 compile_rules()
slaxemulator@13120 18 {
pascal@14739 19 sed -i 's|.*glibmm/propertyproxy.h|#include <gtkmm.h>\n&|' \
pascal@14739 20 libgnomecanvas/libgnomecanvasmm/properties.h
pascal@14739 21 sed -i 's|gtkmm/main|gtkmm|' \
pascal@14739 22 demos/canvas.cc \
pascal@14739 23 libgnomecanvas/libgnomecanvasmm/init.cc \
pascal@14739 24 examples/canvas_affine/canvas_affine.cc \
pascal@14739 25 examples/canvas_events/canvas_events.cc
slaxemulator@13120 26 ./configure \
slaxemulator@13120 27 --sysconfdir=/etc \
slaxemulator@13120 28 --localstatedir=/var \
slaxemulator@13120 29 $CONFIGURE_ARGS &&
slaxemulator@13120 30 make && make install
slaxemulator@13120 31 }
slaxemulator@13120 32
slaxemulator@13120 33 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@13120 34 genpkg_rules()
slaxemulator@13120 35 {
slaxemulator@13120 36 mkdir -p $fs/usr/lib
slaxemulator@13120 37 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@13120 38 }