debian swirl logo

Back to the packages list java3ds-fileloader

#!/usr/bin/make -f

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_BUILD_TARGET := build
DEB_ANT_BUILDFILE    := $(DEB_SRCDIR)/debian/build.xml

TMPORIGDIR := $(DEB_SRCDIR)/debian/tmp-orig-source

binary-post-install/java3ds-fileloader::
		mh_installpom -pjava3ds-fileloader debian/pom.xml
		mh_installjar -pjava3ds-fileloader -l -njava3ds-fileloader debian/pom.xml \
			$(DEB_SRCDIR)/debian/build/jar/java3ds-fileloader.jar

clean::
		-rm -rf debian/tmp

get-orig-source:
		[ ! -d $(TMPORIGDIR) ] && mkdir $(TMPORIGDIR)
		uscan --verbose --download-version $(DEB_UPSTREAM_VERSION) \
			--force-download --rename --repack --destdir $(TMPORIGDIR)
		mv $(TMPORIGDIR)/*gz .
		rm -rf $(TMPORIGDIR)

Builds:

java3ds-fileloader
java3d 3ds file loader