From 759c10f9511f3f1e6ea67cbdee76c39287bd73c8 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sun, 24 Jan 2016 12:51:11 +0000 Subject: libraries/hdf: Fixed install destination. Signed-off-by: David Spencer --- libraries/hdf/hdf.SlackBuild | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3