~allsymes/cdbs/fix-translation-domain-adder

« back to all changes in this revision

Viewing changes to doc/cdbs-doc.xml

  • Committer: Martin Pitt
  • Date: 2009-10-30 14:06:39 UTC
  • Revision ID: martin.pitt@canonical.com-20091030140639-4919089cqqnju0no
merge with Debian 0.4.62+nmu1

Show diffs side-by-side

added added

removed removed

Lines of Context:
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>
2325
2329
Section: libs
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
2331
2340
 
2332
2341
Package: libjline-java
2333
2342
Section: libs
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.
2342
 
 .
2343
 
 Web site: http://jline.sourceforge.net/
2344
2351
 
2345
2352
Package: libjline-java-doc
2346
2353
Section: 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.
2353
2361
 find most of the command editing features of JLine to be familiar.
2354
2362
 .
2355
2363
 This package contains the documentation for JLine.
2356
 
 .
2357
 
 Web site: http://jline.sourceforge.net/
2358
2364
]]></programlisting>
2359
2365
      </para>
2360
2366
 
2362
2368
<programlisting><![CDATA[
2363
2369
#!/usr/bin/make -f
2364
2370
 
 
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
2368
 
 
2369
 
PACKAGE_VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: \(.*\)-[^-]*$$/\1/p')
2370
 
 
2371
 
JAVA_HOME = /usr/lib/kaffe
2372
 
DEB_JARS = junit
2373
 
DEB_ANT_BUILD_TARGET = jars
2374
 
DEB_ANT_COMPILER = jikes
2375
 
 
2376
 
DEB_INSTALL_DOCS_ALL =
2377
 
DEB_INSTALL_EXAMPLES_libjline-java-doc = release/jline-demo.jar
2378
 
 
2379
 
 
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
2384
 
 
 
2373
 
 
2374
PACKAGE              := $(DEB_SOURCE_PACKAGE)
 
2375
VERSION              := $(DEB_UPSTREAM_VERSION)
 
2376
JAVA_HOME                    := /usr/lib/jvm/default-java
 
2377
DEB_JARS                     := junit
 
2378
DEB_ANT_BUILDFILE        := debian/build.xml
 
2379
DEB_ANT_BUILD_TARGET := jar javadoc
 
2380
 
 
2381
DEB_INSTALL_EXAMPLES_libjline-java-doc = jline-demo.jar
 
2382
 
 
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
2385
2386
 
2386
2387
clean::
2387
 
        rm -rf build/ release/ reports/ tmp/
2388
 
        rm -f VERSION.txt]]></programlisting>
 
2388
        -rm -rf debian/tmp
 
2389
 
 
2390
get-orig-source:
 
2391
        -uscan --upstream-version 0
 
2392
 
 
2393
get-orig-pom:
 
2394
        wget -O debian/pom.xml http://repository.sonatype.org/service/local/repositories/central/content/jline/jline/$(VERSION)/jline-$(VERSION).pom]]>
 
2395
        </programlisting>
2389
2396
      </para>
2390
 
    </sect1>  
 
2397
    </sect1>
2391
2398
  </chapter>
2392
2399
 
2393
2400
  <chapter>