diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-12-24 16:33:30 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2016-12-24 20:53:08 +0000 |
commit | 96135a7804dd988cb5bcc1ebbafd554fab42a8ee (patch) | |
tree | c84702c894a26ea5a8eee67d493a483234fd5e60 /libraries/wangle/wangle.SlackBuild | |
parent | e83b07353fba859c09d96cfe830620173bc68e1f (diff) |
libraries/wangle: Fix SlackBuild.
Fixed tarball handling, build shared lib & install to lib64.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/wangle/wangle.SlackBuild')
-rw-r--r-- | libraries/wangle/wangle.SlackBuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/wangle/wangle.SlackBuild b/libraries/wangle/wangle.SlackBuild index abfb2799e0ff..b3b738385088 100644 --- a/libraries/wangle/wangle.SlackBuild +++ b/libraries/wangle/wangle.SlackBuild @@ -60,7 +60,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-v$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -70,6 +70,8 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; pushd wangle +sed -i -e "s#DESTINATION lib)#DESTINATION lib${LIBDIRSUFFIX})#" CMakeLists.txt + mkdir -p build cd build cmake \ @@ -77,6 +79,7 @@ cd build -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_SHARED_LIBS:BOOL=ON \ -DBUILD_TESTS:BOOL=OFF .. make make install DESTDIR=$PKG |