Inject libkmlframework as a precondition for some Java phylogeny tools
Andreas Tille
11 years ago
0 | libkmlframework-java (0.0.20090718-1) UNRELEASED; urgency=low | |
1 | ||
2 | * Initial release Closes: #???? | |
3 | ||
4 | -- Andreas Tille <tille@debian.org> Tue, 17 Jan 2012 13:12:16 +0100 |
0 | 8 |
0 | Source: libkmlframework-java | |
1 | Section: java | |
2 | Priority: optional | |
3 | Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org> | |
4 | DM-Upload-Allowed: yes | |
5 | Uploaders: Andreas Tille <tille@debian.org> | |
6 | Build-Depends: debhelper (>= 8), javahelper (>=0.25), default-jdk, ant, libservlet2.5-java | |
7 | Standards-Version: 3.9.2 | |
8 | Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/libkmlframework-java/trunk/ | |
9 | Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/libkmlframework-java/trunk/ | |
10 | Homepage: http://code.google.com/p/kmlframework/ | |
11 | ||
12 | Package: libkmlframework-java | |
13 | Architecture: any | |
14 | Depends: ${shlibs:Depends}, ${misc:Depends}, ${java:Depends} | |
15 | Recommends: ${java:Recommends} | |
16 | Description: library/framework for generating Google Earth KML | |
17 | The KML Framework is a library/framework for generating Google Earth | |
18 | KML (Keyhole Markup Language) documents. The framework is based on the | |
19 | work done by Eivind Bøhn as a part of his Master Thesis. |
0 | Format: http://dep.debian.net/deps/dep5/ | |
1 | Upstream-Name: Options | |
2 | Upstream-Contact: Eivind Bøhn <eivind@boehn.org> | |
3 | Source: http://code.google.com/p/kmlframework/downloads/list | |
4 | ||
5 | Files: * | |
6 | Copyright: © 2007-2009 Eivind Bøhn <eivind@boehn.org> | |
7 | License: BSD 2-Clause License | |
8 | Redistribution and use in source and binary forms, with or without | |
9 | modification, are permitted provided that the following conditions are | |
10 | met: | |
11 | * Redistributions of source code must retain the above copyright | |
12 | notice, this list of conditions and the following disclaimer. | |
13 | * Redistributions in binary form must reproduce the above copyright | |
14 | notice, this list of conditions and the following disclaimer in the | |
15 | documentation and/or other materials provided with the distribution. | |
16 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS | |
17 | IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED | |
18 | TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A | |
19 | PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
20 | HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
21 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED | |
22 | TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | |
23 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | |
24 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | |
25 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | |
26 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
27 | ||
28 | Files: debian/* | |
29 | Copyright: © 2012 Andreas Tille | |
30 | License: BSD 2-Clause License | |
31 | Same as source code itself |
0 | lib/*.jar |
0 | --- /dev/null | |
1 | +++ libkmlframework-java-20090718/src/build.xml | |
2 | @@ -0,0 +1,46 @@ | |
3 | +<project name="kmlframework" basedir="." default="dist"> | |
4 | + | |
5 | + <property environment="env" /> | |
6 | + | |
7 | + <property name="version" value="1.2" /> | |
8 | + <property name="build.nb" value="0" /> | |
9 | + | |
10 | + <patternset id="java.libs" includes="*.jar" /> | |
11 | + <path id="mylibs"> | |
12 | + <fileset dir="/usr/share/java"> | |
13 | + <patternset refid="java.libs" /> | |
14 | + </fileset> | |
15 | + </path> | |
16 | + | |
17 | + <property name="src.dir" value="." /> | |
18 | + <property name="bin.dir" value="../bin" /> | |
19 | + <property name="lib.dir" value="../lib" /> | |
20 | + | |
21 | + <patternset id="java.libs" includes="*.jar" /> | |
22 | + | |
23 | + <target name="clean" description="Delete all generated files"> | |
24 | + <delete dir="${bin.dir}" /> | |
25 | + </target> | |
26 | + | |
27 | + <target name="compile" description="Compile src files" | |
28 | + depends="clean"> | |
29 | + <delete dir="${bin.dir}" /> | |
30 | + <mkdir dir="${bin.dir}" /> | |
31 | + <javac classpathref="mylibs" srcdir="${src.dir}" destdir="${bin.dir}"> | |
32 | + </javac> | |
33 | + </target> | |
34 | + | |
35 | + <target name="create-jar" description="Create jar file" depends="compile"> | |
36 | + <jar destfile="${lib.dir}/org.boehn.kmlframework.jar" basedir="${bin.dir}" | |
37 | + update="true"> | |
38 | + <manifest> | |
39 | + <!-- <attribute name="Main-Class" value="THE MAIN CLASS OF THE PROGRAM" /> --> | |
40 | + <attribute name="Implementation-Version" value="${version}" /> | |
41 | + <attribute name="Implementation-Build" value="${build.nb}" /> | |
42 | + </manifest> | |
43 | + </jar> | |
44 | + </target> | |
45 | + | |
46 | + <target name="dist" depends="create-jar" /> | |
47 | + | |
48 | +</project> |
0 | build_xml.patch |
0 | #!/usr/bin/make -f | |
1 | # -*- makefile -*- | |
2 | # debian/rules file for libkmlframework-java | |
3 | # Andreas Tille <tille@debian.org> | |
4 | # GPL | |
5 | ||
6 | %: | |
7 | dh $@ --with javahelper | |
8 | ||
9 | override_dh_auto_build: | |
10 | ant -f src/build.xml | |
11 | ||
12 | override_dh_clean: | |
13 | ant -f src/build.xml clean | |
14 | rm -rf lib | |
15 | dh_clean | |
16 | ||
17 | get-orig-source: | |
18 | uscan --verbose --force-download --repack --rename |
0 | 3.0 (quilt) |