/[pkg-java]/trunk/ehcache/debian/rules
ViewVC logotype

Contents of /trunk/ehcache/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5253 - (show annotations) (download)
Tue Jan 1 16:06:52 2008 UTC (5 years, 4 months ago) by twerner
File size: 780 byte(s)
* Build hibernate related classes because we have hibernate in Debian now.
* Install upstream's CHANGELOG.txt and RELEASE_NOTES.txt.
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

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.5