CVS libtoolbar-java/debian
Arnaud Vandyck
avdyk at haydn.debian.org
Fri Oct 7 15:08:19 UTC 2005
Update of /cvsroot/pkg-java/libtoolbar-java/debian
In directory haydn:/tmp/cvs-serv11018/debian
Modified Files:
changelog control rules
Added Files:
build.xml
Log Message:
libtoolbar-java (1.1.0-1) unstable; urgency=low
* New upstream release
* build with kaffe, move to main (closes: #306779, #274850)
* Standards-Version: 3.6.2, no changes needed.
-- Arnaud Vandyck <avdyk at debian.org> Fri, 7 Oct 2005 17:02:50 +0200
--- /cvsroot/pkg-java/libtoolbar-java/debian/changelog 2004/03/05 22:14:22 1.1.1.1
+++ /cvsroot/pkg-java/libtoolbar-java/debian/changelog 2005/10/07 15:08:19 1.2
@@ -1,3 +1,11 @@
+libtoolbar-java (1.1.0-1) unstable; urgency=low
+
+ * New upstream release
+ * build with kaffe, move to main (closes: #306779, #274850)
+ * Standards-Version: 3.6.2, no changes needed.
+
+ -- Arnaud Vandyck <avdyk at debian.org> Fri, 7 Oct 2005 17:02:50 +0200
+
libtoolbar-java (0.4-1) experimental; urgency=low
* New upstream release
--- /cvsroot/pkg-java/libtoolbar-java/debian/control 2004/03/05 22:14:22 1.1.1.1
+++ /cvsroot/pkg-java/libtoolbar-java/debian/control 2005/10/07 15:08:19 1.2
@@ -1,14 +1,14 @@
Source: libtoolbar-java
-Section: contrib/libs
+Section: libs
Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
Uploaders: Arnaud Vandyck <avdyk at debian.org>
-Build-Depends-Indep: debhelper (>> 4.0.0), j2sdk1.4 | j2sdk1.3 | java2-compiler
-Standards-Version: 3.6.0
+Build-Depends-Indep: debhelper (>> 4.0.0), kaffe, ant, cdbs
+Standards-Version: 3.6.2
Package: libtoolbar-java
Architecture: all
-Depends: j2re1.4 | j2re1.3 | java2-runtime
+Depends: kaffe | java1-runtime | java2-runtime
Suggests: java-virtual-machine
Description: extension of java swing component JToolBar
Toolbar's mission is to extend and improve upon the standard swing
--- /cvsroot/pkg-java/libtoolbar-java/debian/rules 2004/03/05 22:14:22 1.1.1.1
+++ /cvsroot/pkg-java/libtoolbar-java/debian/rules 2005/10/07 15:08:19 1.2
@@ -1,107 +1,26 @@
#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003 Stefan Gybas <sgybas at debian.org>
-# 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
-JAVA_HOME=/usr/local/IBMJava2-ppc-141
-#JAVA_HOME=/usr/lib/j2se/1.4
-#JAVA_HOME=/usr/lib/j2se/1.3
-JAVAC=$(JAVA_HOME)/bin/javac
-JAR=$(JAVA_HOME)/bin/jar
-JAVADOC=$(JAVA_HOME)/bin/javadoc
-LIBRARY=toolbar
-VERSION=0.4
-
-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
-
-configure: configure-stamp
-configure-stamp:
- dh_testdir
-
- find -name \*.java > classes_to_compile
- mkdir -p build/apidoc
- mkdir dist
-
- touch configure-stamp
-
-
-build: build-stamp
-
-build-stamp: configure-stamp
- dh_testdir
-
- $(JAVAC) -d build @classes_to_compile
- $(JAR) cvf dist/$(LIBRARY)-$(VERSION).jar -C build org
- -$(JAVADOC) -d build/apidoc \
--author\
-org @classes_to_compile
-
- echo "dist/$(LIBRARY)-$(VERSION).jar usr/share/java" > debian/install
- echo "usr/share/java/$(LIBRARY)-$(VERSION).jar usr/share/java/$(LIBRARY).jar" > debian/links
-
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp
-
- rm -fr build dist classes_to_compile
-
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
-
-# Build architecture-independent files here.
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs
- dh_installdocs
-# dh_installexamples
- dh_install
-# dh_installmenu
-# dh_installdebconf
-# dh_installlogrotate
-# dh_installemacsen
-# dh_installpam
-# dh_installmime
-# dh_installinit
-# dh_installcron
-# dh_installinfo
-# dh_installman
- dh_link
-# dh_strip
- dh_compress
- dh_fixperms
-# dh_perl
-# dh_python
-# dh_makeshlibs
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-# Build architecture-dependent files here.
-binary-arch: build install
-# We have nothing to do by default.
+JAVA_HOME := /usr/lib/kaffe
+ANT_HOME := /usr/share/ant
+
+DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar
+DEB_ANT_COMPILER := jikes
+#DEB_ANT_PROPERTYFILE := build.properties
+DEB_ANT_BUILDFILE := debian/build.xml
+
+DEB_ANT_BUILD_TARGET := jar
+#DEB_ANT_TEST_TARGET :=
+#DEB_ANT_CLEAN_TARGET := clean
+
+LIBRARY_PACKAGE := toolbar
+API_VERSION := 1.1.0
+
+install/lib$(LIBRARY_PACKAGE)-java::
+ install -m 644 dist/$(LIBRARY_PACKAGE)-$(API_VERSION).jar debian/$(cdbs_curpkg)/usr/share/java/$(LIBRARY_PACKAGE)-$(API_VERSION).jar
+ ln -s $(LIBRARY_PACKAGE)-$(API_VERSION).jar debian/$(cdbs_curpkg)/usr/share/java/$(LIBRARY_PACKAGE).jar
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
More information about the pkg-java-commits
mailing list