diff options
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 abfb2799e0..b3b7383850 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 |