[pkg-java] r4379 - trunk/aspectwerkz2/debian
twerner at alioth.debian.org
twerner at alioth.debian.org
Sat Oct 13 16:46:58 UTC 2007
Author: twerner
Date: 2007-10-13 16:46:58 +0000 (Sat, 13 Oct 2007)
New Revision: 4379
Modified:
trunk/aspectwerkz2/debian/rules
Log:
* create symlinks in /usr/share/java/
* minor cleanups
Modified: trunk/aspectwerkz2/debian/rules
===================================================================
--- trunk/aspectwerkz2/debian/rules 2007-10-13 16:07:58 UTC (rev 4378)
+++ trunk/aspectwerkz2/debian/rules 2007-10-13 16:46:58 UTC (rev 4379)
@@ -1,20 +1,26 @@
#!/usr/bin/make -f
-# debian/rules file for aspectwerkz1 (uses cdbs)
-export VERSION = $(shell head -1 debian/changelog | cut -f2 -d\( | cut -f1 -d\) | cut -f1 -d\-)
-
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
+# the upstream version without the .dfsg* suffix:
+VERSION := `expr match $(DEB_UPSTREAM_VERSION) '\(.*\)\.dfsg.*'`
+
JAVA_HOME := /usr/lib/jvm/java-6-sun
-ANT_HOME := /usr/share/ant
+DEB_JARS := asm asm-attrs asm-util junit dom4j jrexx jarjar trove qdox \
+ javassist concurrent
+JAR_DIR := /usr/share/java
-DEB_JARS := asm asm-attrs asm-util junit dom4j jrexx jarjar trove qdox javassist concurrent
+DEB_ANT_BUILD_TARGET := dist # javadocs
+install/libaspectwerkz2-java::
+ set -e; for SUFFIX in "" "-core" "-jdk14"; do \
+ dh_link -plibaspectwerkz2-java \
+ $(JAR_DIR)/aspectwerkz$$SUFFIX-$(VERSION).jar \
+ $(JAR_DIR)/aspectwerkz$$SUFFIX.jar; \
+ done
-DEB_ANT_BUILD_TARGET := dist # javadocs
-
get-orig-source:
uscan --upstream-version 0 --rename
More information about the pkg-java-commits
mailing list