wok-next view 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
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gtkmm3"
4 VERSION="3.22.1"
5 CATEGORY="x-window"
6 SHORT_DESC="C++ Interfaces for GTK+3 and GNOME"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://www.gtkmm.org/en/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/gtkmm3.html"
12 TARBALL="gtkmm-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/gtkmm/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="gtk3-dev glibmm-dev pangomm-dev cairomm-dev glibmm-dev \
16 atkmm-dev"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 sed -i "/^libdocdir =/ s|\$(book_name)|gtkmm-$VERSION|" docs/Makefile.in
22 ./configure $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 gtkmm3)
31 copy @std
32 DEPENDS="atkmm cairomm gdk-pixbuf glib glibmm gtk3 libgiomm \
33 libsigc++ pangomm"
34 PROVIDE="gtk3mm"
35 ;;
36 *-dev)
37 copy @dev
38 DEPENDS="gtkmm3 atkmm-dev cairomm-dev gdk-pixbuf-dev glibmm-dev \
39 gtk3-dev pangomm-dev"
40 PROVIDE="gtk3mm-dev"
41 ;;
42 esac
43 }