GARNAME = suitesparse GARVERSION = 3.1.0 CATEGORIES = math MASTER_SITES = http://www.cise.ufl.edu/research/sparse/SuiteSparse/ UPSTREAMNAME = SuiteSparse DISTFILES = $(DISTNAME).tar.gz LIBDEPS = math/atlas WORKSRC = $(WORKDIR)/$(UPSTREAMNAME) DESCRIPTION = Various libraries for operating upon sparse matrices HOME_URL = http://www.cise.ufl.edu/research/sparse/SuiteSparse/ BUILD_SCRIPTS = $(WORKSRC)/Makefile INSTALL_SCRIPTS = none # We can't use metis, because it's non-free. BUILD_ARGS = \ F77=gfortran \ BLAS="-lf77blas -lcblas -latlas -lgfortran -lgfortranbegin" \ METIS_PATH= \ METIS= \ CHOLMOD_CONFIG=-DNPARTITION include ../../gar.mk install-none: @$(INSTALL_LIB) ` \ find $(WORKSRC) -name '*.a' \ -and -not -path '*/CSparse/*' \ ` @mkdir -p $(packageprefix)/include/suitesparse $(packagedocs) @install -m644 ` \ find $(WORKSRC) -name '*.h' \ -and -not -path '*/*_newfiles/*' \ -and -not -path '*/CSparse/*' \ -and -not -path '*/Demo/*' \ -and -not -path '*/MATLAB/*' \ -and -not -path '*/Tcov/*' \ -and -not -path '*/UMFPACK/Source/*' \ -and -not -path '*/User/*' \ ` $(packageprefix)/include/suitesparse @cd $(WORKSRC) && for x in ` \ find * -name '*.pdf' -or -name '*.ps' -or -name '*.txt' \ -and -not -path '*/Demo/*' \ -and -not -path '*/Source/*' \ -and -not -path '*/Tcov/*' \ -and -not -path '*/User/*' \ `; do \ install -m644 $$x $(packagedocs)/`echo $$x | sed -e 's,/,-,g' -e 's,-Doc,,'`; \ done $(MAKECOOKIE)