wok-next annotate gtkmm3/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 5e27791cf19c
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@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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@21020 15 BUILD_DEPENDS="gtk3-dev glibmm-dev pangomm-dev cairomm-dev glibmm-dev \
al@20095 16 atkmm-dev"
al@21020 17 SPLIT="$PACKAGE-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@20575 22 ./configure $CONFIGURE_ARGS &&
al@20575 23 fix libtool &&
al@20575 24 make &&
al@20575 25 make install
al@20095 26 }
al@20095 27
al@20095 28 genpkg_rules() {
al@20095 29 case $PACKAGE in
al@20095 30 gtkmm3)
al@20095 31 copy @std
al@21017 32 DEPENDS="atkmm cairomm gdk-pixbuf glib glibmm gtk3 libgiomm \
al@20749 33 libsigc++ pangomm"
al@20095 34 PROVIDE="gtk3mm"
al@20095 35 ;;
al@20095 36 *-dev)
al@20095 37 copy @dev
al@20749 38 DEPENDS="gtkmm3 atkmm-dev cairomm-dev gdk-pixbuf-dev glibmm-dev \
al@21017 39 gtk3-dev pangomm-dev"
al@20095 40 PROVIDE="gtk3mm-dev"
al@20095 41 ;;
al@20095 42 esac
al@20095 43 }