summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2017-01-16 00:26:16 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-21 07:04:22 +0700
commit7d755c086fa4ea065c4cb46a5cef39dbcbc21dbb (patch)
tree898e2cc1aa5b7e9e44064ab23172d8a9ac93b23b
parent3d29039fd069efb99b15b2e6af2e020fbf4c4d13 (diff)
downloadslackbuilds-7d755c086fa4ea065c4cb46a5cef39dbcbc21dbb.tar.gz
libraries/ignition-transport: Fixed build.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--libraries/ignition-transport/ignition-transport.SlackBuild4
-rw-r--r--libraries/ignition-transport/ignition-transport.info2
2 files changed, 2 insertions, 4 deletions
diff --git a/libraries/ignition-transport/ignition-transport.SlackBuild b/libraries/ignition-transport/ignition-transport.SlackBuild
index 0e573d722f..c70f56c93c 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
diff --git a/libraries/ignition-transport/ignition-transport.info b/libraries/ignition-transport/ignition-transport.info
index abbbd7006f..77fc598019 100644
--- a/libraries/ignition-transport/ignition-transport.info
+++ b/libraries/ignition-transport/ignition-transport.info
@@ -2,7 +2,7 @@ PRGNAM="ignition-transport"
VERSION="0.7.0"
HOMEPAGE="http://ignitionrobotics.org/"
DOWNLOAD="http://gazebosim.org/distributions/ign-transport/releases/ignition-transport-0.7.0.tar.bz2 \
- https://github.com/nikonikolov/cppzmq/archive/git20170114/cppzmq-git20170114.tar.gz"
+ https://github.com/nikonikolov/cppzmq/archive/git20170114/cppzmq-git20170114.tar.gz"
MD5SUM="e7a69c622bf3145bdb7061f13eacd985 \
d1be131f58bb8767df2e46b00fec8630"
DOWNLOAD_x86_64=""