wok-next annotate gtkmm3/receipt @ rev 20303
gnustep-back: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 10 11:17:33 2017 +0100 (2017-11-10) |
parents | |
children | 0ec6086e21d6 |
rev | line source |
---|---|
al@20095 | 1 # SliTaz package receipt v2. |
al@20095 | 2 |
al@20095 | 3 PACKAGE="gtkmm3" |
al@20095 | 4 VERSION="3.22.1" |
al@20095 | 5 CATEGORY="x-window" |
al@20095 | 6 SHORT_DESC="C++ Interfaces for GTK+3 and GNOME" |
al@20095 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20095 | 8 LICENSE="LGPL2.1" |
al@20095 | 9 WEB_SITE="https://www.gtkmm.org/en/" |
al@20095 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/gtkmm3.html" |
al@20095 | 11 |
al@20095 | 12 TARBALL="gtkmm-$VERSION.tar.xz" |
al@20095 | 13 WGET_URL="$GNOME_MIRROR/gtkmm/${VERSION%.*}/$TARBALL" |
al@20095 | 14 |
al@20095 | 15 BUILD_DEPENDS="gtk+3-dev libgiomm-dev pangomm-dev cairomm-dev glibmm-dev \ |
al@20095 | 16 atkmm-dev" |
al@20095 | 17 SPLIT="gtkmm3-dev" |
al@20095 | 18 |
al@20095 | 19 compile_rules() { |
al@20095 | 20 sed -i "/^libdocdir =/ s|\$(book_name)|gtkmm-$VERSION|" docs/Makefile.in |
al@20095 | 21 |
al@20095 | 22 ./configure $CONFIGURE_ARGS && make && make install |
al@20095 | 23 } |
al@20095 | 24 |
al@20095 | 25 genpkg_rules() { |
al@20095 | 26 case $PACKAGE in |
al@20095 | 27 gtkmm3) |
al@20095 | 28 copy @std |
al@20095 | 29 DEPENDS="atk atkmm cairo cairomm gdk-pixbuf glib glibmm gtk+3 \ |
al@20095 | 30 libgiomm libsigc++ pango pangomm" |
al@20095 | 31 PROVIDE="gtk3mm" |
al@20095 | 32 ;; |
al@20095 | 33 *-dev) |
al@20095 | 34 copy @dev |
al@20095 | 35 DEPENDS="gtkmm3 atk-dev atkmm-dev bzip2-dev cairo-dev cairomm-dev \ |
al@20095 | 36 fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev glibmm-dev \ |
al@20095 | 37 gtk+3-dev harfbuzz-dev libffi-dev libgiomm-dev libpng16-dev \ |
al@20095 | 38 libsigc++-dev libxml2-dev pango-dev pangomm-dev pcre-dev \ |
al@20095 | 39 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \ |
al@20095 | 40 xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \ |
al@20095 | 41 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev" |
al@20095 | 42 PROVIDE="gtk3mm-dev" |
al@20095 | 43 ;; |
al@20095 | 44 esac |
al@20095 | 45 } |