debian swirl logo

Back to the packages list orc

#!/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

DEB_DH_STRIP_ARGS := --dbg-package=liborc-0.4-0-dbg
DEB_CONFIGURE_EXTRA_FLAGS := --enable-static --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
APIVER := 0.4
SHLIBVER := 1:0.4.18
liborc := $(shell sed -nr 's/^Package:[[:space:]]*(liborc-$(APIVER)-[0-9]+)[[:space:]]*$$/\1/p' debian/control)

DEB_DH_MAKESHLIBS_ARGS_$(liborc) = -V '$(liborc) (>= $(SHLIBVER))'

LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
DEB_MAKE_CHECK_TARGET := check || true

makebuilddir::
		if test -r /proc/cpuinfo; then \
			cat /proc/cpuinfo; \
		fi

Builds:

liborc-0.4-0-dbg
library of optimized inner loops runtime compiler (debug package)
liborc-0.4-0
library of optimized inner loops runtime compiler
liborc-0.4-dev
library of optimized inner loops runtime compiler (development headers)
liborc-0.4-doc
library of optimized inner loops runtime compiler (documentation)