diff options
Diffstat (limited to 'libraries/libmseed/libmseed.SlackBuild')
-rw-r--r-- | libraries/libmseed/libmseed.SlackBuild | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/libraries/libmseed/libmseed.SlackBuild b/libraries/libmseed/libmseed.SlackBuild index 3c76632c1239..7dce88395c6d 100644 --- a/libraries/libmseed/libmseed.SlackBuild +++ b/libraries/libmseed/libmseed.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libmseed -VERSION=${VERSION:-2.18} +VERSION=${VERSION:-2.19.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,26 +69,16 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -make static make shared - -install -Dm755 $PRGNAM.so.$VERSION "$PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM.so.$VERSION" -ln -s /usr/lib${LIBDIRSUFFIX}/$PRGNAM.so.$VERSION "$PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM.so" -install -Dm644 $PRGNAM.a "$PKG/usr/include/$PRGNAM.a" -install -Dm644 $PRGNAM.h "$PKG/usr/include/$PRGNAM.h" -install -Dm644 lmplatform.h "$PKG/usr/include/lmplatform.h" - -install -dm755 "$PKG/usr/man/man3/" -install -Dm644 -t "$PKG/usr/man/man3/" doc/ms*.3 +make install PREFIX=$PKG/usr 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 -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 +mv $PKG/usr/share/man/ $PKG/usr/ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a ChangeLog INSTALL README README.byteorder $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ChangeLog INSTALL.md README.md README.byteorder $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |