#!/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 < 4.0.0 org.jogamp.jocl jocl-main ${VERSION} jar JOCL Java™ Binding for the OpenCL® API http://jogamp.org/jocl/www/ \${project.groupId} jocl \${project.version} EOF for PLATFORM in ${PLATFORMS} do cat < \${project.groupId} jocl \${project.version} natives-${PLATFORM} EOF done cat < EOF cat jocl.pom.in || exit 1 cat < EOF