summaryrefslogtreecommitdiff
path: root/libraries/hdf
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-24 12:51:11 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-26 18:58:51 +0700
commit759c10f9511f3f1e6ea67cbdee76c39287bd73c8 (patch)
tree58ed6fd777aeb4cb06e1b6c99476d898b93b94fc /libraries/hdf
parent11fe97a826e236fc73ca2d173ef89c7b6ca2bba8 (diff)
downloadslackbuilds-759c10f9511f3f1e6ea67cbdee76c39287bd73c8.tar.gz
libraries/hdf: Fixed install destination.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/hdf')
-rw-r--r--libraries/hdf/hdf.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/libraries/hdf/hdf.SlackBuild b/libraries/hdf/hdf.SlackBuild
index bc14c24243..f06b47a046 100644
--- a/libraries/hdf/hdf.SlackBuild
+++ b/libraries/hdf/hdf.SlackBuild
@@ -75,11 +75,16 @@ CPPFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--mandir=/usr/man \
--libdir=/usr/lib${LIBDIRSUFFIX} \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-fortran \
--disable-netcdf \
--disable-static \
--build=$ARCH-slackware-linux
+sed -i \
+ -e 's:$(prefix)/examples:$(DESTDIR)$(docdir)/examples:' \
+ hdf/examples/Makefile mfhdf/examples/Makefile
+
make
make install DESTDIR=$PKG