| 1 |
#!/usr/bin/make -f
|
| 2 |
# debian/rules file for ehcache (uses cdbs)
|
| 3 |
|
| 4 |
include /usr/share/cdbs/1/rules/debhelper.mk
|
| 5 |
include /usr/share/cdbs/1/class/ant.mk
|
| 6 |
|
| 7 |
JAVA_HOME := /usr/lib/jvm/java-gcj/
|
| 8 |
|
| 9 |
DEB_JARS := commons-logging servlet-api-2.4 backport-util-concurrent jsr107cache hibernate3 commons-collections3
|
| 10 |
# hibernate is needed if you wanna build net.sf.ehcache.hibernate.* package
|
| 11 |
DEB_ANT_BUILD_TARGET := jar # javadocs
|
| 12 |
DEB_ANT_BUILDFILE := debian/build.xml
|
| 13 |
DEB_INSTALL_CHANGELOGS_ALL := CHANGELOG.txt
|
| 14 |
|
| 15 |
VERSION := 1.4.0
|
| 16 |
|
| 17 |
install/libehcache-java::
|
| 18 |
install -D -m 644 target/ehcache.jar $(DEB_DESTDIR)/usr/share/java/ehcache-${VERSION}.jar
|
| 19 |
dh_link -plibehcache-java usr/share/java/ehcache-${VERSION}.jar usr/share/java/ehcache.jar
|
| 20 |
|
| 21 |
get-orig-source:
|
| 22 |
-uscan --upstream-version 0 --rename
|