debian swirl logo

Back to the packages list libmecab-java

#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/buildvars.mk

%:
		dh  $@

override_dh_auto_build:
	dh_auto_build -- JAVAC= "javac -source 1.5 -target 1.5 -encoding UTF-8" \
	                 INCLUDE= /usr/lib/jvm/default-java/include

override_dh_install:
		cp MeCab.jar MeCab-$(DEB_UPSTREAM_VERSION).jar
		dh_install

Builds:

libmecab-java
mecab binding for java - java classes
libmecab-jni
mecab binding for java - native interface