debian swirl logo

Back to the packages list jama

#!/usr/bin/make -f
# debian/rules file for jama (uses cdbs)

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk

JAVA_HOME := /usr/lib/jvm/default-java

DEB_ANT_BUILDFILE := debian/build.xml
DEB_ANT_BUILD_TARGET := all

install/libjama-java::
		mh_installpom -plibjama-java debian/pom.xml
		mh_installjar -plibjama-java --java-lib debian/pom.xml target/jama.jar

clean::
		mh_clean


get-orig-pom:
		wget http://central.maven.org/maven2/gov/nist/math/jama/$(DEB_UPSTREAM_VERSION)/jama-$(DEB_UPSTREAM_VERSION).pom -O debian/pom.xml

get-orig-source:
		uscan --force-download --download-version $(DEB_UPSTREAM_VERSION) --rename --repack

Builds:

libjama-java
basic linear algebra library for java
libjama-java-doc
basic linear algebra library for java (documentation)