[Lunar-commits] <moonbase> proj-4: Adding a BUILD and DEPENDS.
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Fri Feb 11 00:54:50 CET 2011
commit bfcc502b3b2c224a8d60eefda451d7ba9d284c72
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Thu Feb 10 18:54:50 2011 -0500
proj-4: Adding a BUILD and DEPENDS.
---
science/proj-4/BUILD | 16 ++++++++++++++++
science/proj-4/DEPENDS | 1 +
2 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/science/proj-4/BUILD b/science/proj-4/BUILD
new file mode 100644
index 0000000..82108d0
--- /dev/null
+++ b/science/proj-4/BUILD
@@ -0,0 +1,16 @@
+(
+
+ if module_installed $MODULE %JAVA_SDK ; then
+ CFLAGS+=" -I/usr/java/latest/include/linux" &&
+ OPTS+=" --with-jni=/usr/java/latest/include/" &&
+ default_build &&
+ cd jniwrap &&
+ ant &&
+ cd ../ &&
+ prepare_install &&
+ install -m0755 jniwrap/libs/jproj.jar /usr/lib/
+ else
+ default_build
+ fi
+
+) > $C_FIFO 2>&1
diff --git a/science/proj-4/DEPENDS b/science/proj-4/DEPENDS
new file mode 100644
index 0000000..4a60462
--- /dev/null
+++ b/science/proj-4/DEPENDS
@@ -0,0 +1 @@
+optional_depends %JAVA_SDK "" "" "for jni.h support"
More information about the Lunar-commits
mailing list