diff options
author | Kyle Guinn <elyk03@gmail.com> | 2011-05-31 18:12:49 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-06-13 01:31:18 -0400 |
commit | b2d62ba24b7e4de0db6b731ae67c9dbfdd9f0e26 (patch) | |
tree | 3592a8c7878d68e83ffd21d5223602a1b1b59521 /academic/metis | |
parent | 8b09d01ef9da7469aa51413381bb196768d3b147 (diff) |
academic/metis: Updated for version 4.0.3.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'academic/metis')
-rw-r--r-- | academic/metis/autotoolize.diff | 15 | ||||
-rw-r--r-- | academic/metis/metis.SlackBuild | 23 | ||||
-rw-r--r-- | academic/metis/metis.info | 6 |
3 files changed, 22 insertions, 22 deletions
diff --git a/academic/metis/autotoolize.diff b/academic/metis/autotoolize.diff index e9f868669562..1b87aa13c85a 100644 --- a/academic/metis/autotoolize.diff +++ b/academic/metis/autotoolize.diff @@ -14,7 +14,7 @@ new file mode 100644 +++ b/Graphs/Makefile.am @@ -0,0 +1,2 @@ +EXTRA_DIST = 0README -+dist_noinst_DATA = 4elt.graph metis.mesh test.mgraph ++dist_noinst_DATA = 4elt.graph 4elt.graph.part.10 metis.mesh test.mgraph diff --git a/Lib/Makefile.am b/Lib/Makefile.am new file mode 100644 --- /dev/null @@ -80,14 +80,14 @@ new file mode 100644 +lib_LTLIBRARIES = libmetis.la +libmetis_la_SOURCES = $(SRC) +libmetis_la_LIBADD = -lm -+libmetis_la_LDFLAGS = -no-undefined -version-info 4:1:0 ++libmetis_la_LDFLAGS = -no-undefined -version-info 4:3:0 diff --git a/Makefile.am b/Makefile.am new file mode 100644 --- /dev/null +++ b/Makefile.am @@ -0,0 +1,5 @@ +SUBDIRS = Lib Programs Graphs Test Doc -+EXTRA_DIST = CHANGES FILES INSTALL VERSION metis.pc.in ++EXTRA_DIST = CHANGES FILES INSTALL LICENSE VERSION metis.pc.in + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = metis.pc @@ -140,8 +140,8 @@ new file mode 100644 --- /dev/null +++ b/configure.ac @@ -0,0 +1,31 @@ -+AC_PREREQ([2.65]) -+AC_INIT([METIS], [4.0.1], [karypis@cs.umn.edu]) ++AC_PREREQ([2.68]) ++AC_INIT([METIS],[4.0.3],[karypis@cs.umn.edu]) +AC_CONFIG_SRCDIR([Lib/metis.h]) +AC_CONFIG_HEADER([config.h]) +AM_INIT_AUTOMAKE([foreign]) @@ -163,8 +163,8 @@ new file mode 100644 +LIBS=$LIBS_SAVED + +AC_CONFIG_FILES([ -+ Makefile + metis.pc ++ Makefile + Doc/Makefile + Graphs/Makefile + Lib/Makefile @@ -175,7 +175,7 @@ diff --git a/metis.pc.in b/metis.pc.in new file mode 100644 --- /dev/null +++ b/metis.pc.in -@@ -0,0 +1,10 @@ +@@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ @@ -185,4 +185,5 @@ new file mode 100644 +Description: Software for partitioning unstructured graphs and meshes +Version: @PACKAGE_VERSION@ +Libs: -L${libdir} -lmetis ++Libs.private: -lm +Cflags: -I${includedir}/metis diff --git a/academic/metis/metis.SlackBuild b/academic/metis/metis.SlackBuild index 8639fb116c5c..8c58628e72af 100644 --- a/academic/metis/metis.SlackBuild +++ b/academic/metis/metis.SlackBuild @@ -4,8 +4,7 @@ # Written by Kyle Guinn <elyk03@gmail.com> PRGNAM=metis -VERSION=${VERSION:-4.0.1} -SRCVERSION=${SRCVERSION:-4.0} +VERSION=${VERSION:-4.0.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -19,10 +18,10 @@ fi CWD=$(pwd) TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM +PKG=$TMP/package-$PRGNAM-$VERSION OUTPUT=${OUTPUT:-/tmp} -DOCS="CHANGES FILES INSTALL VERSION" +DOCS="CHANGES FILES INSTALL LICENSE VERSION" if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" @@ -38,34 +37,34 @@ else LIBDIRSUFFIX="" fi +# Recommended by SuiteSparse +SLKCFLAGS="$SLKCFLAGS -fexceptions -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE" + set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$SRCVERSION +rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$SRCVERSION +cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-st . -# The C standard reserves all names that begin with underscores. Metis -# ignores this and now we have naming conflicts with glibc. Right now only -# __log2 conflicts, but this should fix the problem for good. -sed -i 's/__/metis__/g' Lib/rename.h - patch -p1 < $CWD/autotoolize.diff autoreconf -vif CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ + --infodir=/usr/info \ --docdir=/usr/doc/$PRGNAM-$VERSION \ + --enable-shared \ + --disable-static \ --build=$ARCH-slackware-linux make diff --git a/academic/metis/metis.info b/academic/metis/metis.info index 89e096aed7c7..f4ad8d17f0e8 100644 --- a/academic/metis/metis.info +++ b/academic/metis/metis.info @@ -1,8 +1,8 @@ PRGNAM="metis" -VERSION="4.0.1" +VERSION="4.0.3" HOMEPAGE="http://glaros.dtc.umn.edu/gkhome/metis/metis/overview" -DOWNLOAD="http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/OLD/metis-4.0.1.tar.gz" -MD5SUM="0aa546419ff7ef50bd86ce1ec7f727c7" +DOWNLOAD="http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/metis-4.0.3.tar.gz" +MD5SUM="d3848b454532ef18dc83e4fb160d1e10" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Kyle Guinn" |