1125
1125
management is activated, <literal>autotools-dev</literal> and
1126
1126
<literal>gnulib</literal>, respectively, will then be
1127
1127
automatically added to the build dependencies (needed to obtain
1128
updated versions of the files). If the program does not use the
1129
top source directory to store autoconf files, you can teach CDBS
1130
where they are to be found:
1128
updated versions of the files). Otherwise, you should add these
1129
packages, as appropriate, to the build dependencies yourself.
1130
If you fail to do so, these updates will not execute unless the
1131
required packages are already installed by coincidence.
1132
(Lintian is likely to complain if you forget.) If the program
1133
does not use the top source directory to store autoconf files,
1134
you can teach CDBS where they are to be found:
1131
1135
<programlisting>
1132
1136
DEB_AC_AUX_DIR = $(DEB_SRCDIR)/autoconf
1133
1137
</programlisting>
1588
1592
<varname>JAVA_HOME</varname>. For Ant-using packages in the
1589
1593
Debian main archive, you would typically use either
1590
1594
<programlisting>
1591
JAVA_HOME = /usr/lib/kaffe
1595
JAVA_HOME = /usr/lib/jvm/default-java
1592
1596
</programlisting>
1593
which requires a build dependency on <literal>kaffe</literal>, or
1597
which requires a build dependency on <literal>default-jdk</literal>, or
1594
1598
<programlisting>
1595
1599
JAVA_HOME = /usr/lib/jvm/java-gcj
1596
1600
</programlisting>
2326
2330
Priority: optional
2327
2331
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
2328
Uploaders: Peter Eisentraut <petere@debian.org>
2329
Build-Depends-Indep: cdbs (>= 0.4.36), debhelper (>= 5), kaffe, jikes, ant, junit
2330
Standards-Version: 3.6.2
2332
Uploaders: Varun Hiremath <varun@debian.org>, Kumar Appaiah <akumar@ee.iitm.ac.in>,
2333
Torsten Werner <twerner@debian.org>
2334
Build-Depends: cdbs, debhelper (>= 5), default-jdk, ant
2335
Build-Depends-Indep: maven-repo-helper, junit, openjdk-6-doc
2336
Standards-Version: 3.8.2
2337
Homepage: http://jline.sourceforge.net/
2338
Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/jline
2339
Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/jline
2332
2341
Package: libjline-java
2334
2343
Architecture: all
2335
Depends: kaffe | java2-runtime | java1-runtime
2336
Suggests: kaffe | java-virtual-machine, libjline-java-doc
2344
Depends: ${misc:Depends}, default-jre-headless | java2-runtime-headless | java1-runtime-headless
2345
Suggests: libjline-java-doc
2337
2346
Description: Java library for handling console input
2338
2347
JLine is a 100% pure Java library for reading and editing console input.
2339
2348
It is similar in functionality to BSD editline and GNU readline. People
2340
2349
familiar with the readline/editline capabilities for modern shells will
2341
2350
find most of the command editing features of JLine to be familiar.
2343
Web site: http://jline.sourceforge.net/
2345
2352
Package: libjline-java-doc
2347
2354
Architecture: all
2355
Depends: ${misc:Depends}, openjdk-6-doc | classpath-doc
2348
2356
Suggests: libjline-java
2349
2357
Description: documentation for JLine
2350
2358
JLine is a 100% pure Java library for reading and editing console input.
2362
2368
<programlisting><![CDATA[
2363
2369
#!/usr/bin/make -f
2371
include /usr/share/cdbs/1/rules/debhelper.mk
2365
2372
include /usr/share/cdbs/1/class/ant.mk
2366
include /usr/share/cdbs/1/rules/debhelper.mk
2367
include /usr/share/cdbs/1/rules/simple-patchsys.mk
2369
PACKAGE_VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: \(.*\)-[^-]*$$/\1/p')
2371
JAVA_HOME = /usr/lib/kaffe
2373
DEB_ANT_BUILD_TARGET = jars
2374
DEB_ANT_COMPILER = jikes
2376
DEB_INSTALL_DOCS_ALL =
2377
DEB_INSTALL_EXAMPLES_libjline-java-doc = release/jline-demo.jar
2380
install/libjline-java:: DEB_FINALDIR=$(CURDIR)/debian/libjline-java
2381
install/libjline-java::
2382
install -m 644 -D release/jline-0_9_5.jar $(DEB_FINALDIR)/usr/share/java/jline-$(PACKAGE_VERSION).jar
2383
dh_link /usr/share/java/jline-$(PACKAGE_VERSION).jar /usr/share/java/jline.jar
2374
PACKAGE := $(DEB_SOURCE_PACKAGE)
2375
VERSION := $(DEB_UPSTREAM_VERSION)
2376
JAVA_HOME := /usr/lib/jvm/default-java
2378
DEB_ANT_BUILDFILE := debian/build.xml
2379
DEB_ANT_BUILD_TARGET := jar javadoc
2381
DEB_INSTALL_EXAMPLES_libjline-java-doc = jline-demo.jar
2383
binary-post-install/lib$(PACKAGE)-java::
2384
mh_installpoms -plib$(PACKAGE)-java
2385
mh_installjar -plib$(PACKAGE)-java -l debian/pom.xml jline.jar
2387
rm -rf build/ release/ reports/ tmp/
2388
rm -f VERSION.txt]]></programlisting>
2391
-uscan --upstream-version 0
2394
wget -O debian/pom.xml http://repository.sonatype.org/service/local/repositories/central/content/jline/jline/$(VERSION)/jline-$(VERSION).pom]]>