wok-next view glibmm/receipt @ rev 19890

iptstate, tint2, waterline-plugin-multiload: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 11 15:11:57 2017 +0200 (2017-10-11)
parents e70c0b9c5adf
children b367284a8ac3
line source
1 # SliTaz package receipt v2.
3 PACKAGE="glibmm"
4 VERSION="2.50.0"
5 CATEGORY="x-window"
6 SHORT_DESC="C++ interface for GTK+"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.gtkmm.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="glib-dev libsigc++-dev"
15 SPLIT="libgiomm libgiomm-dev glibmm-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i "/^libdocdir =/ s|\$(book_name)|glibmm-$VERSION|" docs/Makefile.in
22 ./configure $CONFIGURE_ARGS && make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 case $PACKAGE in
29 glibmm)
30 copy libglibmm*.so*
31 DEPENDS="glib libsigc++ gcc-lib-base glibc-base"
32 ;;
33 glibmm-dev)
34 copy glibmm-2.4/ libglibmm*.la glibmm-2.4.pc
35 DEPENDS="glibmm libgiomm-dev libsigc++-dev glib-dev pkg-config"
36 ;;
37 libgiomm)
38 copy libgiomm*.so*
39 DEPENDS="glib glibmm libsigc++"
40 CAT="x-window|GIO Framework"
41 ;;
42 libgiomm-dev)
43 copy giomm-2.4/ libgiomm*.la giomm-2.4.pc
44 DEPENDS="libgiomm pkg-config"
45 CAT="development|GIO Framework development files"
46 ;;
47 esac
48 }