summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Raynsford <[email protected]>2012-11-06 17:46:47 +0000
committerSven Gothel <[email protected]>2012-11-06 21:16:30 +0100
commit18e0bcf717732a353a9ff0a46889d65d8707d13a (patch)
tree24931c2de3cc93eff76e4a424629dccbc0c7814f
parent3d66b95d280f75bffb22d51393e2306879170703 (diff)
Add JOCL
-rwxr-xr-xjocl-main.pom.sh66
-rw-r--r--jocl.pom.in75
-rwxr-xr-xjocl.pom.sh37
-rw-r--r--make-projects.txt2
4 files changed, 180 insertions, 0 deletions
diff --git a/jocl-main.pom.sh b/jocl-main.pom.sh
new file mode 100755
index 0000000..323d285
--- /dev/null
+++ b/jocl-main.pom.sh
@@ -0,0 +1,66 @@
+#!/bin/sh
+
+if [ $# -ne 1 ]
+then
+ echo "usage: version" 1>&2
+ exit 1
+fi
+
+VERSION="$1"
+shift
+PLATFORMS=`cat make-platforms.txt | awk -F: '{print $1}'` || exit 1
+
+cat <<EOF
+<?xml version="1.0" encoding="UTF-8"?>
+<project
+ xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <!-- -->
+ <!-- Auto generated by jocl-main.pom.sh, do not edit directly! -->
+ <!-- -->
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jogamp.jocl</groupId>
+ <artifactId>jocl-main</artifactId>
+ <version>${VERSION}</version>
+ <packaging>jar</packaging>
+ <name>JOCL</name>
+ <description>Java™ Binding for the OpenCL® API</description>
+ <url>http://jogamp.org/jocl/www/</url>
+
+ <!-- -->
+ <!-- Explicitly depend on jocl, and all of its native binary jars. -->
+ <!-- -->
+
+ <dependencies>
+ <dependency>
+ <groupId>\${project.groupId}</groupId>
+ <artifactId>jocl</artifactId>
+ <version>\${project.version}</version>
+ </dependency>
+
+EOF
+
+for PLATFORM in ${PLATFORMS}
+do
+ cat <<EOF
+ <dependency>
+ <groupId>\${project.groupId}</groupId>
+ <artifactId>jocl</artifactId>
+ <version>\${project.version}</version>
+ <classifier>natives-${PLATFORM}</classifier>
+ </dependency>
+EOF
+done
+
+cat <<EOF
+ </dependencies>
+
+EOF
+
+cat jocl.pom.in || exit 1
+cat <<EOF
+</project>
+EOF
diff --git a/jocl.pom.in b/jocl.pom.in
new file mode 100644
index 0000000..4574387
--- /dev/null
+++ b/jocl.pom.in
@@ -0,0 +1,75 @@
+ <!-- jocl.pom.in -->
+
+ <licenses>
+ <license>
+ <name>BSD-2 License</name>
+ <url>http://www.opensource.org/licenses/BSD-2-Clause</url>
+ </license>
+ <license>
+ <name>BSD-3 License</name>
+ <url>http://www.opensource.org/licenses/BSD-3-Clause</url>
+ </license>
+ <license>
+ <name>SGI Free Software License B</name>
+ <url>http://oss.sgi.com/projects/FreeB</url>
+ </license>
+ <license>
+ <name>Apache License Version 2.0</name>
+ <url>http://www.apache.org/licenses/LICENSE-2.0</url>
+ </license>
+ <license>
+ <name>Apache License Version 1.1</name>
+ <url>http://www.apache.org/licenses/LICENSE-1.1</url>
+ </license>
+ <license>
+ <name>Ubuntu Font Licence 1.0</name>
+ <url>http://font.ubuntu.com/ufl/ubuntu-font-licence-1.0.txt</url>
+ </license>
+ </licenses>
+
+ <scm>
+ <url>http://jogamp.org/git/?p=jocl.git/</url>
+ <connection>scm:git:http://jogamp.org/git/jocl.git/</connection>
+ <developerConnection>scm:git:http://jogamp.org/git/jocl.git/</developerConnection>
+ </scm>
+
+ <developers>
+ <developer>
+ <id>sgothel</id>
+ <name>Sven Gothel</name>
+ <email>[email protected]</email>
+ <url>http://blog.jausoft.com</url>
+ </developer>
+ </developers>
+
+ <issueManagement>
+ <url>http://jogamp.org/bugzilla/</url>
+ <system>Bugzilla</system>
+ </issueManagement>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <version>1.4</version>
+ <executions>
+ <execution>
+ <id>sign-artifacts</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ <extensions>
+ <extension>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-ssh-external</artifactId>
+ <version>2.2</version>
+ </extension>
+ </extensions>
+ </build>
+
diff --git a/jocl.pom.sh b/jocl.pom.sh
new file mode 100755
index 0000000..4fc1756
--- /dev/null
+++ b/jocl.pom.sh
@@ -0,0 +1,37 @@
+#!/bin/sh
+
+if [ $# -ne 1 ]
+then
+ echo "usage: version" 1>&2
+ exit 1
+fi
+
+VERSION="$1"
+shift
+
+cat <<EOF
+<?xml version="1.0" encoding="UTF-8"?>
+<project
+ xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <!-- -->
+ <!-- Auto generated by jocl.pom.sh, do not edit directly! -->
+ <!-- -->
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jogamp.jocl</groupId>
+ <artifactId>jocl</artifactId>
+ <version>${VERSION}</version>
+ <packaging>jar</packaging>
+ <name>JOCL</name>
+ <description>Java™ Binding for the OpenCL® API</description>
+ <url>http://jogamp.org/jocl/www/</url>
+
+EOF
+
+cat jocl.pom.in || exit 1
+cat <<EOF
+</project>
+EOF
diff --git a/make-projects.txt b/make-projects.txt
index da8be52..c39b376 100644
--- a/make-projects.txt
+++ b/make-projects.txt
@@ -1,5 +1,7 @@
gluegen-rt : natives : no-dummy-jar
gluegen-rt-main : no-natives : dummy-jar
+jocl : natives : no-dummy-jar
+jocl-main : no-natives : dummy-jar
jogl-all : natives : no-dummy-jar
jogl-all-main : no-natives : dummy-jar
jogl-all-mobile : no-natives : no-dummy-jar