[libcommons-lang-java] 07/51: built with cdbs

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Fri Jan 12 13:38:33 UTC 2018


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository libcommons-lang-java.

commit 8f30b8333d1abcb0c705246757b5ca573b3170de
Author: Arnaud Vandyck <avdyk at debian.org>
Date:   Mon Sep 15 20:52:43 2003 +0000

    built with cdbs
---
 debian/rules | 108 +++++++++++------------------------------------------------
 1 file changed, 19 insertions(+), 89 deletions(-)

diff --git a/debian/rules b/debian/rules
index 6bb74da..65faf39 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,101 +1,31 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
+# debian/rules for Commons Beanutils (uses CDBS)
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
 
 #added for dpatch
 include /usr/share/dpatch/dpatch.make
 
-UPSTREAM_VERSION = $(shell head -1 debian/changelog | cut -f2 -d\( | cut -f1 -d\) | cut -f1 -d\-)
-BUILDFILE=lang/build.xml
-JAVA_LIBS=/usr/share/java
-JUNIT_JAR="-Djunit.jar=$(JAVA_LIBS)/junit.jar"
+#JAVA_HOME_DIRS       := /usr/lib/kaffe
+JAVA_HOME_DIRS       := /usr/lib/j2se/1.4
+ANT_HOME             := /usr/share/ant
+DEB_JARS             := junit
+DEB_ANT_COMPILER     := jikes
+#DEB_ANT_COMPILER     := modern
+DEB_ANT_BUILD_TARGET := dist
+DEB_BUILDDIR         := .
+DEB_ANT_BUILDFILE    := build.xml
+DEB_ANT_CLEAN_TARGET := clean
+DEB_ANT_DEFAULT_OPTIONS += -propertyfile debian/ant.properties
 
-export CLASSPATH=$(JAVA_LIBS)/junit.jar
+LIBRARY=commons-lang
+VERSION=2.0
 
-COMPILER=jikes
+pre-build:: patch
 
-CFLAGS = -Wall -g
 
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-	INSTALL_PROGRAM += -s
-endif
+clean:: unpatch
+#	-rm -fr lib
 
-configure: configure-stamp
 
-configure-stamp: patch-stamp
-	dh_testdir
-
-	touch configure-stamp
-
-
-build: build-stamp
-
-build-stamp: configure-stamp 
-	dh_testdir
-
-	ant -buildfile $(BUILDFILE) $(JUNIT_JAR) -Dbuild.compiler=$(COMPILER) -Dbuild.sysclasspath=only dist
-
-	touch build-stamp
-
-clean: unpatch
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-
-	ant -buildfile $(BUILDFILE) clean
-
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-
-	install -m 644 lang/dist/commons-lang-$(UPSTREAM_VERSION).jar debian/libcommons-lang-java/usr/share/java/commons-lang-$(UPSTREAM_VERSION).jar
-
-# Build architecture-independent files here.
-binary-indep: build install
-	dh_testdir -i
-	dh_testroot -i
-	dh_installchangelogs -i
-	dh_installdocs -i
-	dh_installexamples -i
-#	dh_install
-#	dh_installmenu
-#	dh_installdebconf	
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-#	dh_installinit
-#	dh_installcron
-#	dh_installinfo
-#	dh_installman
-	dh_link -i
-#	dh_strip
-	dh_compress -i
-	dh_fixperms -i
-#	dh_perl
-#	dh_python
-#	dh_makeshlibs
-	dh_installdeb -i
-#	dh_shlibdeps
-	dh_gencontrol -i
-	dh_md5sums -i
-	dh_builddeb -i
-
-# Build architecture-dependent files here.
-binary-arch: build install
-# We have nothing to do by default.
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libcommons-lang-java.git



More information about the pkg-java-commits mailing list