summaryrefslogtreecommitdiffstats
path: root/maven/jocl-android.pom.sh
blob: e2c2c0f65c86f0d142b329e040c5bb9df05ba9da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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-android.pom.sh, do not edit directly! -->
  <!--                                                                 -->

  <modelVersion>4.0.0</modelVersion>
  <groupId>org.jogamp.jocl</groupId>
  <artifactId>jocl-android</artifactId>
  <version>${VERSION}</version>
  <packaging>jar</packaging>
  <name>JOCL</name>
  <description>Java™ Binding for the OpenCL® API (Android runtime)</description>
  <url>http://jogamp.org/jocl/www/</url>

EOF

cat jocl.pom.in || exit 1
cat <<EOF
</project>
EOF