wok rev 21634

updated openmpi and openmpi-dev (1.5.3 -> 4.0.1)
author Hans-G?nter Theisgen
date Tue May 28 15:59:29 2019 +0100 (2019-05-28)
parents 381f759402e1
children d87d4afc1a1a
files openmpi-dev/receipt openmpi/receipt
line diff
     1.1 --- a/openmpi-dev/receipt	Tue May 28 15:10:25 2019 +0100
     1.2 +++ b/openmpi-dev/receipt	Tue May 28 15:59:29 2019 +0100
     1.3 @@ -1,23 +1,23 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="openmpi-dev"
     1.7 -VERSION="1.5.3"
     1.8 +VERSION="4.0.1"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="devel files for opemmpi"
    1.11 +SHORT_DESC="Development files for opemmpi."
    1.12  MAINTAINER="slaxemulator@gmail.com"
    1.13  LICENSE="BSD"
    1.14 -WEB_SITE="http://www.open-mpi.org"
    1.15 -WANTED="openmpi"
    1.16 +WEB_SITE="https://www.open-mpi.org/"
    1.17  
    1.18  DEPENDS="openmpi pkg-config"
    1.19 +WANTED="openmpi"
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24  	mkdir -p $fs/usr/lib/$WANTED
    1.25 -	cp -a $install/usr/include $fs/usr
    1.26 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.27 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.28 -	cp -a $install/usr/lib/$WANTED/*.*a $fs/usr/lib/$WANTED
    1.29 +
    1.30 +	cp -a $install/usr/include		$fs/usr
    1.31 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.32 +	cp -a $install/usr/lib/*.*a		$fs/usr/lib
    1.33 +	cp -a $install/usr/lib/$WANTED/*.*a	$fs/usr/lib/$WANTED
    1.34  }
    1.35 -
     2.1 --- a/openmpi/receipt	Tue May 28 15:10:25 2019 +0100
     2.2 +++ b/openmpi/receipt	Tue May 28 15:59:29 2019 +0100
     2.3 @@ -1,14 +1,15 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="openmpi"
     2.7 -VERSION="1.5.3"
     2.8 +VERSION="4.0.1"
     2.9  CATEGORY="development"
    2.10 -SHORT_DESC="High performance message passing library (MPI)"
    2.11 +SHORT_DESC="High performance message passing library (MPI)."
    2.12  MAINTAINER="slaxemulator@gmail.com"
    2.13  LICENSE="BSD"
    2.14 +WEB_SITE="https://www.open-mpi.org/"
    2.15 +
    2.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.17 -WEB_SITE="http://www.open-mpi.org"
    2.18 -WGET_URL="http://www.open-mpi.org/software/ompi/v${VERSION%.*}/downloads/$TARBALL"
    2.19 +WGET_URL="${WEB_SITE}software/ompi/v${VERSION%.*}/downloads/$TARBALL"
    2.20  
    2.21  DEPENDS="gcc gfortran libtool openssh valgrind"
    2.22  BUILD_DEPENDS="$DEPENDS valgrind-dev file"
    2.23 @@ -16,28 +17,31 @@
    2.24  # Rules to configure and make the package.
    2.25  compile_rules()
    2.26  {
    2.27 -   ./configure --sysconfdir=/etc/${PACKAGE} \
    2.28 -               --enable-mpi-f90 \
    2.29 -               --libdir=/usr/lib/${pkgname} \
    2.30 -               --with-threads=posix \
    2.31 -               --enable-mpi-threads \
    2.32 -               --enable-smp-locks \
    2.33 -               --with-valgrind \
    2.34 -               --enable-pretty-print-stacktrace \
    2.35 -               --without-slurm \
    2.36 -               --with-libltdl=/usr \
    2.37 -               FC=/usr/bin/gfortran \
    2.38 -               LDFLAGS='-Wl,-z,noexecstack' &&
    2.39 -	make && make install
    2.40 +	./configure					\
    2.41 +		--sysconfdir=/etc/${PACKAGE}		\
    2.42 +		--enable-mpi-f90			\
    2.43 +		--libdir=/usr/lib/${pkgname}		\
    2.44 +		--with-threads=posix			\
    2.45 +		--enable-mpi-threads			\
    2.46 +		--enable-smp-locks			\
    2.47 +		--with-valgrind				\
    2.48 +		--enable-pretty-print-stacktrace	\
    2.49 +		--without-slurm				\
    2.50 +		--with-libltdl=/usr			\
    2.51 +		FC=/usr/bin/gfortran			\
    2.52 +		LDFLAGS='-Wl,-z,noexecstack' &&
    2.53 +	make &&
    2.54 +	make install
    2.55  }
    2.56  
    2.57  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.58  genpkg_rules()
    2.59  {
    2.60  	mkdir -p $fs/usr/lib/$PACKAGE
    2.61 -	cp -a $install/etc $fs
    2.62 -	cp -a $install/usr/bin $fs/usr
    2.63 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.64 -	cp -a $install/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE
    2.65 -	cp -a $install/usr/lib/mpi.mod $fs/usr/lib
    2.66 +
    2.67 +	cp -a $install/etc			$fs
    2.68 +	cp -a $install/usr/bin			$fs/usr
    2.69 +	cp -a $install/usr/lib/*.so*		$fs/usr/lib
    2.70 +	cp -a $install/usr/lib/$PACKAGE/*.so*	$fs/usr/lib/$PACKAGE
    2.71 +	cp -a $install/usr/lib/mpi.mod		$fs/usr/lib
    2.72  }