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

This commit is contained in:
svenschneider 2013-10-30 00:14:49 +01:00
parent a4f48153b5
commit b3cddb3dff
2 changed files with 4 additions and 3 deletions

View file

@ -1,7 +1,7 @@
pkgbase = orocos-rtt-omniorb
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 = 2
pkgrel = 3
url = http://www.orocos.org/rtt
arch = i686
arch = x86_64

View file

@ -3,7 +3,7 @@
pkgname=orocos-rtt-omniorb
_pkgname=orocos-toolchain
pkgver=2.6.0
pkgrel=2
pkgrel=3
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"
@ -33,7 +33,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 -DENABLE_CORBA=ON -DCORBA_IMPLEMENTATION=OMNIORB .
unset -v ROS_ROOT
cmake -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_TESTING=ON -DENABLE_CORBA=ON -DCORBA_IMPLEMENTATION=OMNIORB .
make
}