forked from pyrocko/pyrocko
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
401 B
22 lines
401 B
#!/bin/sh |
|
|
|
set -e |
|
|
|
if [ ! -f libmseed/libmseed.a ]; then |
|
rm -rf libmseed |
|
tar -xzf libmseed-2.19.6.tar.gz |
|
cd libmseed |
|
CFLAGS="-fPIC" make static |
|
cd .. |
|
fi |
|
|
|
if [ ! -d evalresp-3.3.0/lib ]; then |
|
rm -rf evalresp-3.3.0 |
|
tar -xzf evalresp-3.3.0.tar.gz |
|
cd evalresp-3.3.0 |
|
./configure --prefix="`pwd`" --libdir="`pwd`/lib" CFLAGS=-fPIC |
|
make |
|
make install |
|
cd .. |
|
fi |
|
|
|
|