debian swirl logo

Back to the packages list glibmm2.4

#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/rules/autoreconf.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk

GNOME_MODULE := glibmm

SHARED_PKG := $(shell sed -rn 's/^Package:[[:space:]]*(libglibmm-[[:digit:]\.]+-[[:digit:]][[:alnum:]]*)[[:space:]]*$$/\1/p' debian/control)
DOC_PKG := $(shell sed -rn 's/^Package:[[:space:]]*(libglibmm-[[:digit:]\.]+-doc)[[:space:]]*$$/\1/p' debian/control)
SHVER := 2.40.0

LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed

DEB_CONFIGURE_EXTRA_FLAGS += --enable-static \
                             --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
DEB_MAKE_CHECK_TARGET := check
DEB_DH_MAKESHLIBS_ARGS_$(SHARED_PKG) += -V"$(SHARED_PKG) (>= $(SHVER))"
DEB_INSTALL_EXAMPLES_$(DOC_PKG) += -XMakefile -X.deps -X.libs -X.o

# Don't compress doxygen tag files
DEB_COMPRESS_EXCLUDE = .tag

# Use xz compression
DEB_DH_BUILDDEB_ARGS ?= -- -Zxz

install/$(DOC_PKG)::
		$(MAKE) -C $(CURDIR)/examples clean

Builds:

libglibmm-2.4-1c2a
c++ wrapper for the glib toolkit (shared libraries)
libglibmm-2.4-dbg
c++ wrapper for the glib toolkit (debug symbols)
libglibmm-2.4-dev
c++ wrapper for the glib toolkit (development files)
libglibmm-2.4-doc
c++ wrapper for the glib toolkit (documentation)