wok-next view glibmm/receipt @ rev 20780

GnuPG update: 2.1.21 (2017 May) -> 2.2.8 (CVE-2018-12020) -> GnuPG 2.2.x is the current stable branch of GnuPG
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 05:44:49 2018 +0000 (2018-06-09)
parents 757d032c55c7
children 241675069a75
line source
1 # SliTaz package receipt v2.
3 PACKAGE="glibmm"
4 VERSION="2.52.0"
5 CATEGORY="x-window"
6 SHORT_DESC="C++ bindings for GLib"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://developer.gnome.org/glibmm/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/glibmm.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="glib-dev libsigc++-dev"
16 SPLIT="libgiomm glibmm-dev"
18 compile_rules() {
19 sed -i "/^libdocdir =/ s|\$(book_name)|glibmm-$VERSION|" docs/Makefile.in
21 ./configure $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 glibmm)
30 copy libglibmm*.so*
31 DEPENDS="glib libsigc++"
32 ;;
33 libgiomm)
34 copy libgiomm*.so*
35 DEPENDS="glib glibmm libsigc++"
36 CAT="x-window|GIO Framework"
37 ;;
38 glibmm-dev)
39 copy @dev
40 DEPENDS="glibmm libgiomm \
41 glib-dev libsigc++-dev perl"
42 PROVIDE="libgiomm-dev" # single dev package now
43 ;;
44 esac
45 }