[Lunar-commits] <moonbase> NVIDIA-Cg-toolkit: Adjusting the BUILD to detect lib/lib64 differences.
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Tue Nov 15 12:51:26 CET 2011
commit f32a1469b12dc4b968a457ee1b40e9b7bea064d6
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Tue Nov 15 06:51:26 2011 -0500
NVIDIA-Cg-toolkit: Adjusting the BUILD to detect lib/lib64 differences.
---
zbeta/NVIDIA-Cg-toolkit/BUILD | 15 ++++++++++-----
1 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/zbeta/NVIDIA-Cg-toolkit/BUILD b/zbeta/NVIDIA-Cg-toolkit/BUILD
index 5da1332..856a775 100644
--- a/zbeta/NVIDIA-Cg-toolkit/BUILD
+++ b/zbeta/NVIDIA-Cg-toolkit/BUILD
@@ -2,10 +2,15 @@
prepare_install &&
- cp -a usr/lib/*.so /usr/lib/ &&
- cp -a usr/include/* /usr/include/ &&
- cp -a usr/share/* /usr/share/ &&
- cp -a usr/bin/* /usr/bin/ &&
- cp -a usr/local/* /usr/share/doc/NVIDIA-Cg-toolkit/
+ if [ "`arch`" = "x86" ]; then
+ cp -af usr/lib/*.so /usr/lib/
+ else
+ cp -af usr/lib64/*.so /usr/lib/
+ fi &&
+
+ cp -af usr/include/* /usr/include/ &&
+ cp -af usr/share/* /usr/share/ &&
+ cp -af usr/bin/* /usr/bin/ &&
+ cp -af usr/local/* /usr/share/doc/NVIDIA-Cg-toolkit/
) > $C_FIFO 2>&1
More information about the Lunar-commits
mailing list