[pkg-java] r10924 - trunk/jmdns/debian
Mathieu Malaterre
malat-guest at alioth.debian.org
Tue Oct 27 14:27:12 UTC 2009
Author: malat-guest
Date: 2009-10-27 14:27:12 +0000 (Tue, 27 Oct 2009)
New Revision: 10924
Modified:
trunk/jmdns/debian/changelog
trunk/jmdns/debian/rules
Log:
remove lgpl files
Modified: trunk/jmdns/debian/changelog
===================================================================
--- trunk/jmdns/debian/changelog 2009-10-26 23:21:50 UTC (rev 10923)
+++ trunk/jmdns/debian/changelog 2009-10-27 14:27:12 UTC (rev 10924)
@@ -1,6 +1,7 @@
jmdns (2.1-2) unstable; urgency=low
* Incorporate suggestions by Damien Raude-Morvan.
+ * Remove all LGPL-2.1 files.
-- Mathieu Malaterre (malat) <mathieu.malaterre at gmail.com> Sat, 10 Oct 2009 16:11:25 +0200
Modified: trunk/jmdns/debian/rules
===================================================================
--- trunk/jmdns/debian/rules 2009-10-26 23:21:50 UTC (rev 10923)
+++ trunk/jmdns/debian/rules 2009-10-27 14:27:12 UTC (rev 10924)
@@ -11,7 +11,15 @@
export JAVA_HOME=/usr/lib/jvm/default-java
+VER_MAJOR = 2
+VER_MINOR = 1
+VER_FULL = $(VER_MAJOR).$(VER_MINOR)
+
+UPSTREAM_SRC = jmdns-$(VER_FULL)
+DEBIAN_SRC_DIR = jmdns-$(VER_FULL)
+DEBIAN_SRC_TAR = jmdns_$(VER_FULL).orig.tar.gz
+
# Put depended upon jars in here
# export CLASSPATH=
@@ -63,8 +71,25 @@
dh_md5sums -i
dh_builddeb -i
-get-orig-source:
- uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
+#get-orig-source:
+# uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
+$(UPSTREAM_SRC).tar.gz:
+ wget http://voxel.dl.sourceforge.net/sourceforge/jmdns/$@
+get-orig-source: $(UPSTREAM_SRC).tar.gz
+ tar xzf $(UPSTREAM_SRC).tar.gz
+ rm $(UPSTREAM_SRC)/src/samples/ListServices.java
+ rm $(UPSTREAM_SRC)/src/samples/DiscoverServiceTypes.java
+ rm $(UPSTREAM_SRC)/src/samples/DiscoverServices.java
+ rm $(UPSTREAM_SRC)/src/samples/OpenJmDNS.java
+ rm $(UPSTREAM_SRC)/src/samples/RegisterService.java
+ rm $(UPSTREAM_SRC)/src/com/strangeberry/jmdns/tools/Browser.java
+ rm $(UPSTREAM_SRC)/src/com/strangeberry/jmdns/tools/Responder.java
+ rm $(UPSTREAM_SRC)/src/com/strangeberry/jmdns/tools/Main.java
+ #mv $(UPSTREAM_SRC) $(DEBIAN_SRC_DIR)
+ GZIP=-9 tar czf $(DEBIAN_SRC_TAR) $(DEBIAN_SRC_DIR)
+ rm -rf $(UPSTREAM_SRC)
+
+
binary: binary-indep binary-arch
.PHONY: build build-arch build-indep clean binary-indep binary-arch binary install-indep
More information about the pkg-java-commits
mailing list