From d13d4cf29a4092784bd82a57cf7a6adbae761ced Mon Sep 17 00:00:00 2001 From: Cristiano Urban Date: Fri, 3 Mar 2017 18:36:50 +0700 Subject: libraries/libmseed: Updated for version 2.19.2. Signed-off-by: Willy Sudiarto Raharjo --- libraries/libmseed/README | 4 ++-- libraries/libmseed/libmseed.SlackBuild | 18 ++++-------------- libraries/libmseed/libmseed.info | 6 +++--- libraries/libmseed/slack-desc | 4 ++-- 4 files changed, 11 insertions(+), 21 deletions(-) diff --git a/libraries/libmseed/README b/libraries/libmseed/README index 848803d7ea..c88a649b88 100644 --- a/libraries/libmseed/README +++ b/libraries/libmseed/README @@ -5,5 +5,5 @@ data records including the unpacking and packing of data records. Functionality is also included for managing waveform data as continuous traces. -The library is known to work in most Unix/Linux environments (including -Mac OSX) and on Win32 systems. +The library should work in Linux, BSD (and derivatives like macOS), +Solaris and Win32 environments. diff --git a/libraries/libmseed/libmseed.SlackBuild b/libraries/libmseed/libmseed.SlackBuild index 3c76632c12..7dce88395c 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 diff --git a/libraries/libmseed/libmseed.info b/libraries/libmseed/libmseed.info index e02aa72191..eb09f6df58 100644 --- a/libraries/libmseed/libmseed.info +++ b/libraries/libmseed/libmseed.info @@ -1,8 +1,8 @@ PRGNAM="libmseed" -VERSION="2.18" +VERSION="2.19.2" HOMEPAGE="https://ds.iris.edu/ds/nodes/dmc/software/downloads/libmseed/" -DOWNLOAD="https://github.com/iris-edu/libmseed/archive/v2.18/libmseed-2.18.tar.gz" -MD5SUM="d7b99a5fb0ed6a0ad740352a6069661c" +DOWNLOAD="https://github.com/iris-edu/libmseed/archive/v2.19.2/libmseed-2.19.2.tar.gz" +MD5SUM="bdfc22314c0e13a88d50dac2d5183b9f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libmseed/slack-desc b/libraries/libmseed/slack-desc index 50ebca20bb..b5d0c36b5d 100644 --- a/libraries/libmseed/slack-desc +++ b/libraries/libmseed/slack-desc @@ -9,8 +9,8 @@ libmseed: libmseed (C library framework for manipulating SEED data records) libmseed: libmseed: libmseed is a C library framework for manipulating and managing -libmseed: SEED data records. The library is known to work in most Unix/Linux -libmseed: environments (including Mac OSX) and in Win32 systems. +libmseed: SEED data records. The library should work in Linux, BSD (and +libmseed: derivatives like macOS), Solaris and Win32 environments. libmseed: libmseed: Home: https://ds.iris.edu/ds/nodes/dmc/software/downloads/libmseed/ libmseed: -- cgit v1.2.3