aboutsummaryrefslogtreecommitdiff
path: root/libraries/libmseed/libmseed.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libmseed/libmseed.SlackBuild')
-rw-r--r--libraries/libmseed/libmseed.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/libmseed/libmseed.SlackBuild b/libraries/libmseed/libmseed.SlackBuild
index 601cb285dc2e..3c76632c1239 100644
--- a/libraries/libmseed/libmseed.SlackBuild
+++ b/libraries/libmseed/libmseed.SlackBuild
@@ -61,7 +61,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -73,7 +73,7 @@ make static
make shared
install -Dm755 $PRGNAM.so.$VERSION "$PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM.so.$VERSION"
-ln -s /usr/lib/$PRGNAM.so.$VERSION "$PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM.so"
+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"