wok diff openmpi/receipt @ rev 9145
Trying to fix VINRUNTIMEDIR (Thanks kans)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Mar 06 22:02:23 2011 +0100 (2011-03-06) |
parents | cd063b91a529 |
children | dda28a460f9a |
line diff
1.1 --- a/openmpi/receipt Tue Jan 25 13:13:05 2011 +0000 1.2 +++ b/openmpi/receipt Sun Mar 06 22:02:23 2011 +0100 1.3 @@ -15,9 +15,7 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 - ./configure --prefix=/usr \ 1.8 - --sysconfdir=/etc/${PACKAGE} \ 1.9 - --mandir=/usr/share/man \ 1.10 + ./configure --sysconfdir=/etc/${PACKAGE} \ 1.11 --enable-mpi-f90 \ 1.12 --libdir=/usr/lib/${pkgname} \ 1.13 --with-threads=posix \ 1.14 @@ -28,19 +26,18 @@ 1.15 --without-slurm \ 1.16 --with-libltdl=/usr \ 1.17 FC=/usr/bin/gfortran \ 1.18 - LDFLAGS='-Wl,-z,noexecstack' \ 1.19 - $CONFIGURE_ARGS && 1.20 - make -j 4 && make DESTDIR=$PWD/_pkg install 1.21 + LDFLAGS='-Wl,-z,noexecstack' && 1.22 + make && make install 1.23 } 1.24 1.25 # Rules to gen a SliTaz package suitable for Tazpkg. 1.26 genpkg_rules() 1.27 { 1.28 - mkdir -p $fs/usr/lib/$PACKAGE/$PACKAGE 1.29 + mkdir -p $fs/usr/lib/$PACKAGE 1.30 cp -a $_pkg/etc $fs 1.31 cp -a $_pkg/usr/bin $fs/usr 1.32 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.33 cp -a $_pkg/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE 1.34 - cp -a $_pkg/usr/lib/$PACKAGE/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE/$PACKAGE 1.35 - cp -a $_pkg/usr/lib/$PACKAGE/mpi.mod $fs/usr/lib/$PACKAGE 1.36 + cp -a $_pkg/usr/lib/mpi.mod $fs/usr/lib 1.37 } 1.38