debian swirl logo

Back to the packages list madlib

#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk

# Add here any variable or target overrides you need.
DEB_CONFIGURE_EXTRA_FLAGS := \
  --host=$(DEB_HOST_GNU_TYPE)      \
  --build=$(DEB_BUILD_GNU_TYPE)    \
  --prefix=/usr                    \
  --mandir=\$${prefix}/share/man   \
  --infodir=\$${prefix}/share/info\
  --enable-ann --enable-benchmarks

DEB_STRIPPED_UPSTREAM_VERSION = $(shell echo $(DEB_UPSTREAM_VERSION) | sed -n -e 's/\.*$$//p')
MADLIB_VERSION= $(DEB_STRIPPED_UPSTREAM_VERSION)

clean::
		-rm Contrib/mathex/mathex.o
		-rm config.log
		-rm config.status
		-rm Benchmarks/checkMesh/Makefile Benchmarks/meshInfo/Makefile Benchmarks/moveIt/Makefile Benchmarks/optimize/Makefile Contrib/ANN/Makefile/Makefile

get-orig-source:
		uscan --force-download --rename --verbose --upstream-version $(MADLIB_VERSION)
		-mv ../madlib_$(MADLIB_VERSION).orig.tar.gz ../tarballs;

Builds:

libmadlib-dbg
mesh adaptation library
libmadlib-dev
mesh adaptation library
libmadlib
mesh adaptation library
madlib-doc
mesh adaptation library