summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Haegler <simon.haegler@mistafunk.ch>2011-10-19 13:38:52 +0200
committerSimon Haegler <simon.haegler@mistafunk.ch>2011-10-19 13:38:52 +0200
commit774d8b2618826e0c249479e71ad099615e1b6390 (patch)
tree4a8218a2b7dec801f797c3c8d2fd92b8dc2dd2ba
parentadded mitsuba 0.3.0 (diff)
downloadmistafunk-774d8b2618826e0c249479e71ad099615e1b6390.tar.gz
mistafunk-774d8b2618826e0c249479e71ad099615e1b6390.tar.bz2
mistafunk-774d8b2618826e0c249479e71ad099615e1b6390.zip
better installation layout
-rw-r--r--media-gfx/mitsuba/Manifest3
-rw-r--r--media-gfx/mitsuba/mitsuba-0.3.0.ebuild21
2 files changed, 16 insertions, 8 deletions
diff --git a/media-gfx/mitsuba/Manifest b/media-gfx/mitsuba/Manifest
index 545be8f..9f3b130 100644
--- a/media-gfx/mitsuba/Manifest
+++ b/media-gfx/mitsuba/Manifest
@@ -1,2 +1,3 @@
DIST cb6e89af8012.tar.bz2 19574819 RMD160 dd34f0717a590d1be7179ec42412369c86353298 SHA1 4e543f8d11bcd5198996a1690df9bea08edea8f8 SHA256 a661b4c554d4afd5a5d851e030eca2994ab0f3556a0d7d39adedd8b10d0ccd07
-EBUILD mitsuba-0.3.0.ebuild 1443 RMD160 11915455617a46032195ac2856b23bb158df073c SHA1 ddc835f9149d0946761ddde54cf3422c97854bba SHA256 14ede156dbf1386a191dd4960df305c481ce09f293fcfe0dfd5462b80355bff8
+EBUILD mitsuba-0.3.0.ebuild 1588 RMD160 4492633ff3873f866cb5f924f4d46983ebc8b440 SHA1 ab90e32de3d274c47d11f259f398669ab0ba0002 SHA256 363097ca5a99a5cb47f5f2e2d2c7e52b1964b6e5aa85664b63eba287cfc820dd
+MISC mitsuba-0.3.0.ebuild~ 1533 RMD160 3dbefe7b518530df24056747ca965260ea2948eb SHA1 e76d4395db3c70986a0151acfb704d878e4077c7 SHA256 ea617d22484ba8d828aafb9d4d15aa06c1fe5f64bd4df6e11f263448b08448a5
diff --git a/media-gfx/mitsuba/mitsuba-0.3.0.ebuild b/media-gfx/mitsuba/mitsuba-0.3.0.ebuild
index 65d39f7..09f4136 100644
--- a/media-gfx/mitsuba/mitsuba-0.3.0.ebuild
+++ b/media-gfx/mitsuba/mitsuba-0.3.0.ebuild
@@ -43,6 +43,7 @@ src_configure() {
}
src_compile() {
+ tc-export CC CXX
escons || die "Scons failed"
}
@@ -53,15 +54,21 @@ src_install() {
doexe mitsuba mtssrv mtsgui mtsutil mtsimport || die
dolib.so libmitsuba-hw.so libmitsuba-render.so libmitsuba-core.so libmitsuba-bidir.so || die
- insinto "/usr/share/${P}"
+ insinto "/usr/share/${PN}"
doins -r "${S}/data/ior"
doins -r "${S}/data/schema"
- local my_plugins="/usr/$(get_libdir)/${PN}/plugins"
- into ${my_plugins}
- dolib.so plugins/*.so || die
+ exeinto "/usr/share/${PN}/plugins"
+ doexe plugins/*.so
- local my_python="/usr/$(get_libdir)/${PN}/python"
- into ${my_python}
- dolib.so python/*.so || die
+ exeinto "/usr/share/${PN}/python"
+ doexe python/*.so
+
+# local my_plugins="/usr/$(get_libdir)/${PN}/plugins"
+# into ${my_plugins}
+# dolib.so plugins/*.so || die
+#
+# local my_python="/usr/$(get_libdir)/${PN}/python"
+# into ${my_python}
+# dolib.so python/*.so || die
}