mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
libraries/libmseed: Updated for version 2.19.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
a54d4d5ce2
commit
d13d4cf29a
4 changed files with 11 additions and 21 deletions
|
@ -5,5 +5,5 @@ data records including the unpacking and packing of data records.
|
||||||
Functionality is also included for managing waveform data as continuous
|
Functionality is also included for managing waveform data as continuous
|
||||||
traces.
|
traces.
|
||||||
|
|
||||||
The library is known to work in most Unix/Linux environments (including
|
The library should work in Linux, BSD (and derivatives like macOS),
|
||||||
Mac OSX) and on Win32 systems.
|
Solaris and Win32 environments.
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=libmseed
|
PRGNAM=libmseed
|
||||||
VERSION=${VERSION:-2.18}
|
VERSION=${VERSION:-2.19.2}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -69,26 +69,16 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
make static
|
|
||||||
make shared
|
make shared
|
||||||
|
make install PREFIX=$PKG/usr
|
||||||
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
|
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
mv $PKG/usr/share/man/ $PKG/usr/
|
||||||
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 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
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="libmseed"
|
PRGNAM="libmseed"
|
||||||
VERSION="2.18"
|
VERSION="2.19.2"
|
||||||
HOMEPAGE="https://ds.iris.edu/ds/nodes/dmc/software/downloads/libmseed/"
|
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"
|
DOWNLOAD="https://github.com/iris-edu/libmseed/archive/v2.19.2/libmseed-2.19.2.tar.gz"
|
||||||
MD5SUM="d7b99a5fb0ed6a0ad740352a6069661c"
|
MD5SUM="bdfc22314c0e13a88d50dac2d5183b9f"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
libmseed: libmseed (C library framework for manipulating SEED data records)
|
libmseed: libmseed (C library framework for manipulating SEED data records)
|
||||||
libmseed:
|
libmseed:
|
||||||
libmseed: libmseed is a C library framework for manipulating and managing
|
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: SEED data records. The library should work in Linux, BSD (and
|
||||||
libmseed: environments (including Mac OSX) and in Win32 systems.
|
libmseed: derivatives like macOS), Solaris and Win32 environments.
|
||||||
libmseed:
|
libmseed:
|
||||||
libmseed: Home: https://ds.iris.edu/ds/nodes/dmc/software/downloads/libmseed/
|
libmseed: Home: https://ds.iris.edu/ds/nodes/dmc/software/downloads/libmseed/
|
||||||
libmseed:
|
libmseed:
|
||||||
|
|
Loading…
Reference in a new issue