debian swirl logo

Back to the packages list gtkdataboxmm

#!/usr/bin/make -f

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

SHARED_PKG := $(shell sed -rn 's/^Package:[[:space:]]*(libgtkdataboxmm-[0-9\.]+-[0-9][0-9a-z]*)[[:space:]]*$$/\1/p' debian/control)
SHVER = 0.9

# Most of the docs aren't necessary
DEB_INSTALL_DOCS_ALL = NEWS

DEB_INSTALL_EXAMPLES_libgtkdataboxmm-doc += -XMakefile -X.deps -X.libs -X.o

DEB_DH_MAKESHLIBS_ARGS_$(SHARED_PKG) += -V"$(SHARED_PKG) (>= $(SHVER))"

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)

build/libgtkdataboxmm-doc::
		$(MAKE) -C $(CURDIR)/doc all

Builds:

libgtkdataboxmm-0.9-0
c++ bindings for gtkdatabox - shared library
libgtkdataboxmm-dev
c++ bindings for gtkdatabox - development files
libgtkdataboxmm-doc
c++ bindings for gtkdatabox - documentation and examples