aboutsummaryrefslogtreecommitdiff
path: root/libraries/wangle
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/wangle')
-rw-r--r--libraries/wangle/wangle.SlackBuild5
-rw-r--r--libraries/wangle/wangle.info2
2 files changed, 5 insertions, 2 deletions
diff --git a/libraries/wangle/wangle.SlackBuild b/libraries/wangle/wangle.SlackBuild
index abfb2799e0ff1..b3b738385088e 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
diff --git a/libraries/wangle/wangle.info b/libraries/wangle/wangle.info
index 15be18d0a4b1d..1ad7c72a4c94a 100644
--- a/libraries/wangle/wangle.info
+++ b/libraries/wangle/wangle.info
@@ -1,7 +1,7 @@
PRGNAM="wangle"
VERSION="2016.12.12.00"
HOMEPAGE="https://github.com/facebook/wangle"
-DOWNLOAD="https://github.com/facebook/wangle/archive/v2016.12.12.00/wangle-v2016.12.12.00.tar.gz"
+DOWNLOAD="https://github.com/facebook/wangle/archive/v2016.12.12.00/wangle-2016.12.12.00.tar.gz"
MD5SUM="11be24c54a063274f98b3cc34c405eaf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""