[orocos-rtt] unset ros variables before building and enable testing

This commit is contained in:
svenschneider 2013-10-29 23:56:53 +01:00
parent 4e808c2c99
commit 66f99382e7
2 changed files with 4 additions and 3 deletions

View file

@ -1,7 +1,7 @@
pkgbase = orocos-rtt
pkgdesc = Open Robot Control Software is a tool to create real-time robotics applications using modular, run-time configurable software components (Real-Time Toolkit)
pkgver = 2.6.0
pkgrel = 3
pkgrel = 4
url = http://www.orocos.org/rtt
arch = i686
arch = x86_64

View file

@ -3,7 +3,7 @@
pkgname=orocos-rtt
_pkgname=orocos-toolchain
pkgver=2.6.0
pkgrel=3
pkgrel=4
pkgdesc="Open Robot Control Software is a tool to create real-time robotics applications using modular, run-time configurable software components (Real-Time Toolkit)"
arch=('i686' 'x86_64')
url="http://www.orocos.org/rtt"
@ -37,7 +37,8 @@ build() {
# update the cmake configuration file so that it finds the RTT
sed 's/set(OROCOS-RTT_FOUND ${OROCOS-RTT_IMPORT_FILE})/set(OROCOS-RTT_FOUND TRUE)/g' -i orocos-rtt-config.cmake
cmake -DCMAKE_INSTALL_PREFIX=/usr .
unset -v ROS_ROOT
cmake -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_TESTS=On .
make
}