summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-electronics/gazebo/Manifest2
-rw-r--r--sci-electronics/gazebo/gazebo-1.0.0_rc2.ebuild10
2 files changed, 8 insertions, 4 deletions
diff --git a/sci-electronics/gazebo/Manifest b/sci-electronics/gazebo/Manifest
index a82b8e5..3bb2e9c 100644
--- a/sci-electronics/gazebo/Manifest
+++ b/sci-electronics/gazebo/Manifest
@@ -1,3 +1,3 @@
DIST gazebo-1.0.0-RC2.tar.bz2 39478507 RMD160 9759b6a0ac649de71a754d313a27af0c826829c5 SHA1 30cfa2ac358479f03f2b79543938ecaca4f8a631 SHA256 8935b28cbeb8907cdf4d25242ab20a085bb6655c39ee1c0fe0c4e4e63550dbd0
-EBUILD gazebo-1.0.0_rc2.ebuild 1426 RMD160 c3aea9f9ca630205646c243147e00b94e7003aaa SHA1 5147df9a465a1e6e0046558aa0fc0920d345c0e9 SHA256 ce222ec024226a8134c939f0db8c96e665756c9e5fbe8547ec132ff619ec70f5
+EBUILD gazebo-1.0.0_rc2.ebuild 1605 RMD160 8460e84705b12d14f2db2366de3da03d024a1de7 SHA1 acb4392f2742e0ba66cfa9952dd22443a7214eaa SHA256 62871b140fc67856fd22a6fb574c7cd850019fb1c3dead42dbaa9c74760e9dd5
MISC metadata.xml 295 RMD160 368b5dcd636b13eb18e90a90f5a045fbe6822db6 SHA1 6b5a043bddd5881952dcd25e0579da210e2c6dfe SHA256 0940c5f9f77d72638a6c504b9128615bd77ca5a1a5cf4e51b3509e6ee493c6b2
diff --git a/sci-electronics/gazebo/gazebo-1.0.0_rc2.ebuild b/sci-electronics/gazebo/gazebo-1.0.0_rc2.ebuild
index a9cf523..cc47b16 100644
--- a/sci-electronics/gazebo/gazebo-1.0.0_rc2.ebuild
+++ b/sci-electronics/gazebo/gazebo-1.0.0_rc2.ebuild
@@ -4,7 +4,7 @@
EAPI=4
-inherit qt4-r2 cmake-utils
+inherit eutils qt4-r2 cmake-utils
MY_P=${PN}-${PV/_rc/-RC}
@@ -59,7 +59,7 @@ src_compile() {
cmake-utils_src_compile
if use doc; then
- cd ${CMAKE_BUILD_DIR}
+ cd "${CMAKE_BUILD_DIR}"
emake doc
fi
}
@@ -67,7 +67,11 @@ src_compile() {
src_install() {
cmake-utils_src_install
+ echo "GAZEBO_RESOURCE_DIR=\"/usr/share/${MY_P}\"" > "${T}"/50gazebo
+ echo "OGRE_RESOURCE_PATH=\"/usr/$(get_libdir)/OGRE\"" >> "${T}"/50gazebo
+ doenvd "${T}"/50gazebo
+
if use doc; then
- dohtml -r ${CMAKE_BUILD_DIR}/doxygen/html/*
+ dohtml -r "${CMAKE_BUILD_DIR}"/doxygen/html/*
fi
}