debian swirl logo

Back to the packages list boilerpipe

#!/usr/bin/make -f

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

PACKAGE              := $(DEB_SOURCE_PACKAGE)
VERSION              := $(DEB_UPSTREAM_VERSION)
JAVA_HOME            := /usr/lib/jvm/default-java
ANT_OPTS             := -Dlib.dir=.
DEB_JARS             := xercesImpl nekohtml
DEB_ANT_BUILD_TARGET := jars

binary-post-install/lib$(PACKAGE)-java::
		mh_installpoms -plib$(PACKAGE)-java
		mh_installjar -plib$(PACKAGE)-java -l debian/pom.xml dist/boilerpipe-$(VERSION).jar
		jh_classpath -plibboilerpipe-java

clean::
		mh_clean

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

get-orig-pom:
		wget -O debian/pom.xml http://boilerpipe.googlecode.com/svn/repo/de/l3s/boilerpipe/boilerpipe/$(VERSION)/boilerpipe-$(VERSION).pom

Builds:

libboilerpipe-java
boilerplate removal and fulltext extraction from html pages