summaryrefslogtreecommitdiffstats
path: root/libraries/ignition-transport/ignition-transport.SlackBuild
diff options
context:
space:
mode:
author David Spencer <idlemoor@slackbuilds.org>2017-01-16 00:26:16 +0000
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-21 07:04:22 +0700
commit7d755c086fa4ea065c4cb46a5cef39dbcbc21dbb (patch)
tree898e2cc1aa5b7e9e44064ab23172d8a9ac93b23b /libraries/ignition-transport/ignition-transport.SlackBuild
parent3d29039fd069efb99b15b2e6af2e020fbf4c4d13 (diff)
downloadslackbuilds-7d755c086fa4ea065c4cb46a5cef39dbcbc21dbb.tar.gz
slackbuilds-7d755c086fa4ea065c4cb46a5cef39dbcbc21dbb.tar.xz
libraries/ignition-transport: Fixed build.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/ignition-transport/ignition-transport.SlackBuild')
-rw-r--r--libraries/ignition-transport/ignition-transport.SlackBuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/libraries/ignition-transport/ignition-transport.SlackBuild b/libraries/ignition-transport/ignition-transport.SlackBuild
index 0e573d722fc..c70f56c93ca 100644
--- a/libraries/ignition-transport/ignition-transport.SlackBuild
+++ b/libraries/ignition-transport/ignition-transport.SlackBuild
@@ -67,9 +67,6 @@ rm -rf $DEP-$DEPVER
# Install zeromq cpp bindings
tar xvf $CWD/$DEP-$DEPVER.tar.gz
-cd $DEP-$DEPVER
-cp *.hpp /usr/include/
-cd ..
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
@@ -86,6 +83,7 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -Dcppzmq_INCLUDE_DIRS=$TMP/$DEP-$DEPVER \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG