debian swirl logo

Back to the packages list libgtksourceviewmm

#!/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/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 := gtksourceviewmm

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

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

DEB_CONFIGURE_EXTRA_FLAGS += --enable-static
DEB_DH_MAKESHLIBS_ARGS_$(SHARED_PKG) += -V"$(SHARED_PKG) (>= $(SHVER))"
DEB_INSTALL_DOCS_ALL += -XMakefile -X.deps -X.libs -X.o

Builds:

libgtksourceviewmm-3.0-0
c++ binding of gtksourceview
libgtksourceviewmm-3.0-dbg
c++ binding of gtksourceview - debugging symbols
libgtksourceviewmm-3.0-dev
c++ binding of gtksourceview - development files
libgtksourceviewmm-3.0-doc
c++ binding of gtksourceview