libraries/libmseed: Updated for version 2.19.2.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Cristiano Urban 2017-03-03 18:36:50 +07:00 committed by Willy Sudiarto Raharjo
parent a54d4d5ce2
commit d13d4cf29a
4 changed files with 11 additions and 21 deletions

View file

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

View file

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

View file

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

View file

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