debian swirl logo

Back to the packages list arpack++

#!/usr/bin/make -f


DEB_AUTO_CLEANUP_RCS            := yes
DEB_BUILDDIR 			:= $(DEB_SRCDIR)/
DEB_CONFIGURE_SCRIPT		:= $(DEB_SRCDIR)/configure
DEB_MAKE_CLEAN_TARGET    := clean
DEB_COMPRESS_EXCLUDE     := .pdf

DEB_INSTALL_EXAMPLES_libarpack++2-dev:= examples/*


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

DEB_BUILDDIR 			:= $(DEB_SRCDIR)/
DEB_CONFIGURE_SCRIPT		:= $(CURDIR)/configure

DEB_CONFIGURE_EXTRA_FLAGS := \
  --host=$(DEB_HOST_GNU_TYPE)      \
  --build=$(DEB_BUILD_GNU_TYPE)    \
  --prefix=/usr                    \
  --mandir=\$${prefix}/share/man   \
  --infodir=\$${prefix}/share/info \
  --includedir=/usr/include/arpack++


#CXX=/usr/lib/gcc-snapshot/bin/g++
#CC=/usr/lib/gcc-snapshot/bin/gcc
CFLAGS= -O3
CXXFLAGS= -O3
FFLAGS= -O3

debian/stamp-autotools-files:
		libtoolize
		autoreconf

VERSION= 2.3
orig-tarball:
		mkdir tmp; \
		cd tmp; \
		wget http://ljk.imag.fr/membres/Christophe.Prudhomme/software/arpack++-${VERSION}.tar.gz; \
		mv arpack++-${VERSION}.tar.gz ../arpack++_${VERSION}.orig.tar.gz; \
		cd ..; \
		rmdir tmp

Builds:

libarpack++2c2a
object-oriented version of the arpack package (runtime)
libarpack++2-dev
object-oriented version of the arpack package (development)