wok-next annotate libgnomecanvasmm/receipt @ rev 20678
Up clisp (2.50)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 15 02:59:03 2018 +0300 (2018-05-15) |
parents | 16a417e1e89d |
children | 342b30daff76 |
rev | line source |
---|---|
al@20344 | 1 # SliTaz package receipt v2. |
slaxemulator@13120 | 2 |
slaxemulator@13120 | 3 PACKAGE="libgnomecanvasmm" |
slaxemulator@13120 | 4 VERSION="2.26.0" |
slaxemulator@13120 | 5 CATEGORY="x-window" |
al@20344 | 6 SHORT_DESC="A C++ wrapper for libgnomecanvas" |
slaxemulator@13120 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14714 | 8 LICENSE="LGPL2.1" |
slaxemulator@13120 | 9 WEB_SITE="http://gtkmm.sourceforge.net/" |
al@20344 | 10 |
slaxemulator@13120 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@13120 | 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
slaxemulator@13120 | 13 |
al@20344 | 14 BUILD_DEPENDS="gfortran gtkmm-dev libgnomecanvas-dev" |
al@20344 | 15 SPLIT="libgnomecanvasmm-dev" |
slaxemulator@13120 | 16 |
al@20344 | 17 compile_rules() { |
pascal@14739 | 18 sed -i 's|.*glibmm/propertyproxy.h|#include <gtkmm.h>\n&|' \ |
pascal@14739 | 19 libgnomecanvas/libgnomecanvasmm/properties.h |
pascal@14739 | 20 sed -i 's|gtkmm/main|gtkmm|' \ |
pascal@14739 | 21 demos/canvas.cc \ |
pascal@14739 | 22 libgnomecanvas/libgnomecanvasmm/init.cc \ |
pascal@14739 | 23 examples/canvas_affine/canvas_affine.cc \ |
pascal@14739 | 24 examples/canvas_events/canvas_events.cc |
al@20344 | 25 |
al@20534 | 26 ./configure $CONFIGURE_ARGS && |
al@20534 | 27 fix libtool && |
al@20534 | 28 make && |
al@20534 | 29 make install |
slaxemulator@13120 | 30 } |
slaxemulator@13120 | 31 |
al@20344 | 32 genpkg_rules() { |
al@20344 | 33 case $PACKAGE in |
al@20344 | 34 libgnomecanvasmm) |
al@20344 | 35 copy @std |
al@20344 | 36 DEPENDS="atk atkmm cairo cairomm fontconfig freetype gdk-pixbuf \ |
al@20344 | 37 glib glibmm gtk+ gtkmm libart_lgpl libgiomm libgnomecanvas \ |
al@20344 | 38 libsigc++ pango pangomm" |
al@20344 | 39 ;; |
al@20344 | 40 *-dev) |
al@20344 | 41 copy @dev |
al@20344 | 42 DEPENDS="libgnomecanvasmm atk-dev atkmm-dev bzip2-dev cairo-dev \ |
al@20344 | 43 cairomm-dev fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev \ |
al@20344 | 44 glibmm-dev gtk+-dev gtkmm-dev harfbuzz-dev libart_lgpl-dev \ |
al@20344 | 45 libffi-dev libgiomm-dev libgnomecanvas-dev libpng16-dev \ |
al@20344 | 46 libsigc++-dev libxml2-dev pango-dev pangomm-dev pcre-dev \ |
al@20344 | 47 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \ |
al@20344 | 48 xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \ |
al@20344 | 49 xorg-libXinerama-dev xorg-libXrender-dev xorg-libxcb-dev \ |
al@20344 | 50 xorg-pixman-dev xz-dev zlib-dev" |
al@20344 | 51 ;; |
al@20344 | 52 esac |
slaxemulator@13120 | 53 } |