libraries/libmseed: Fix library location, compress manpages.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
40c6a766cb
commit
a3d143f69a
|
@ -70,12 +70,16 @@ find -L . \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
make shared
|
make shared
|
||||||
make install PREFIX=$PKG/usr
|
make install \
|
||||||
|
PREFIX=$PKG/usr \
|
||||||
|
LIBDIR=$PKG/usr/lib${LIBDIRSUFFIX} \
|
||||||
|
MANDIR=$PKG/usr/man
|
||||||
|
|
||||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
||||||
mv $PKG/usr/share/man/ $PKG/usr/
|
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||||
|
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a ChangeLog INSTALL.md README.md README.byteorder $PKG/usr/doc/$PRGNAM-$VERSION
|
cp -a ChangeLog INSTALL.md README.md README.byteorder $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
|
Loading…
Reference in New Issue