libraries/hdf: Fixed install destination.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2016-01-24 12:51:11 +00:00 committed by Willy Sudiarto Raharjo
parent 11fe97a826
commit 759c10f951

View file

@ -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