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 | |
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')
-rw-r--r-- | libraries/wangle/wangle.SlackBuild | 5 | ||||
-rw-r--r-- | libraries/wangle/wangle.info | 2 |
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="" |