debian swirl logo

Back to the packages list raptor

#!/usr/bin/make -f
#
# Debian rules for packaging Raptor
#
#

# Replace default CDBS cleanbuilddir rule; has to be before/after definition
cleanbuilddir::
	# raw clean calls distclean deletes the docs/html documentation
		if test -r Makefile; then \
		  mv docs/html docs/html.saved; \
		fi

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/class/makefile.mk
include /usr/share/cdbs/1/rules/autoreconf.mk

cleanbuilddir::
		if test -e docs/html.saved; then \
		  mv docs/html.saved docs/html; \
		fi

DEB_INSTALL_DOCS_ALL= README NEWS AUTHORS NOTICE

DEB_DBG_PACKAGE_libraptor1 = libraptor1-dbg

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

DEB_CONFIGURE_USER_FLAGS= \
  --with-xml-parser=libxml \
  --enable-release

LDFLAGS += -Wl,--default-symver

# do this or autoreconf calling libtoolize destroys the build/ directory contents
LIBTOOLIZE= libtoolize --automake --ltdl

# Show what dh_autoreconf is deleting / moving / restoring
DEB_DH_AUTORECONF_ARGS := --verbose

install/libraptor1-dev::
		cd debian/tmp/usr/lib/* && sed "/dependency_libs/ s/'.*'/''/" libraptor.la > libraptor.la.new && mv libraptor.la.new libraptor.la

Builds:

libraptor1-dbg
raptor rdf parser and serializer library - debugging symbols
libraptor1-dev
raptor rdf parser and serializer development libraries and headers
libraptor1-doc
documentation for the raptor rdf parser and serializer library
libraptor1
raptor rdf parser and serializer library
raptor-utils
raptor rdf parser and serializer utilities