debian swirl logo

Back to the packages list suitesparse-metis

#!/usr/bin/make -f

include /usr/share/cdbs/1/class/makefile.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/dpatch.mk
include /usr/share/dpatch/dpatch.make

DEB_AUTO_CLEANUP_RCS	:= yes
DEB_SRCDIR 		:= $(CURDIR)/
DEB_BUILDDIR 		:= $(DEB_SRCDIR)/

DEB_MAKE_CLEAN_TARGET   := clean
DEB_MAKE_BUILD_TARGET   := default
DEB_COMPRESS_EXCLUDE    := .pdf

CFLAGS= -Wall -fexceptions -O3
ifeq ($(DEB_HOST_ARCH_CPU),amd64)
 CFLAGS+= -m64
endif

binary-post-install/libsuitesparse-metis::
		install -d debian/libsuitesparse-metis/usr/share/lintian/overrides
		install -m 644 debian/libsuitesparse-metis.overrides debian/libsuitesparse-metis/usr/share/lintian/overrides/libsuitesparse-metis

clean::
		-make purge
		-find $(DEB_BUILDDIR) -name "*.a" | xargs rm
		-find $(DEB_BUILDDIR) -name "*.so*" | xargs rm

Builds:

libsuitesparse-metis-3.1.0
collection of libraries for computations for sparse matrices
libsuitesparse-metis-dbg
collection of libraries for computations for sparse matrices
libsuitesparse-metis-dev
collection of libraries for computations for sparse matrices