diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2005-10-23 12:14:45 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2005-10-23 12:14:45 +0000 |
commit | bb0a006d33e2742f2da0f6bd2e643b217c4d4cfc (patch) | |
tree | 71ad68cd7a98521d4988b4ff336c50f98c437511 /dev-java | |
parent | Separated caucho-services from 3.0.8 to dev-java/caucho-services. (diff) | |
download | historical-bb0a006d33e2742f2da0f6bd2e643b217c4d4cfc.tar.gz historical-bb0a006d33e2742f2da0f6bd2e643b217c4d4cfc.tar.bz2 historical-bb0a006d33e2742f2da0f6bd2e643b217c4d4cfc.zip |
Initial ebuild for 2.1.12 done by Josh Nichols <nichoj@alum.rpi.edu> and improved by me. Fixes bug 97005.
Package-Manager: portage-2.0.53_rc6
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/burlap/ChangeLog | 13 | ||||
-rw-r--r-- | dev-java/burlap/Manifest | 10 | ||||
-rw-r--r-- | dev-java/burlap/burlap-2.1.12.ebuild | 51 | ||||
-rw-r--r-- | dev-java/burlap/burlap-3.0.8.ebuild | 47 | ||||
-rw-r--r-- | dev-java/burlap/files/build-2.1.12.xml | 54 | ||||
-rw-r--r-- | dev-java/burlap/files/digest-burlap-2.1.12 | 1 | ||||
-rw-r--r-- | dev-java/burlap/files/digest-burlap-3.0.8 | 1 | ||||
-rw-r--r-- | dev-java/burlap/metadata.xml | 5 |
8 files changed, 182 insertions, 0 deletions
diff --git a/dev-java/burlap/ChangeLog b/dev-java/burlap/ChangeLog new file mode 100644 index 000000000000..7b1e7f00d5ad --- /dev/null +++ b/dev-java/burlap/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for dev-java/burlap +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/burlap/ChangeLog,v 1.1 2005/10/23 12:14:45 betelgeuse Exp $ + +*burlap-3.0.8 (23 Oct 2005) +*burlap-2.1.12 (23 Oct 2005) + + 23 Oct 2005; Petteri Räty <betelgeuse@gentoo.org> + +files/build-2.1.12.xml, +metadata.xml, +burlap-2.1.12.ebuild, + +burlap-3.0.8.ebuild: + Initial ebuild for 2.1.12 done by Josh Nichols <nichoj@alum.rpi.edu> and + improved by me. Fixes bug 97005. + diff --git a/dev-java/burlap/Manifest b/dev-java/burlap/Manifest index 63d81b7efdc1..5982c78dcd45 100644 --- a/dev-java/burlap/Manifest +++ b/dev-java/burlap/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + MD5 a88d65346ebb5a16a9e06043b81bda80 ChangeLog 518 MD5 3ecbbe6777dd00034441f6c95d36df9c burlap-2.1.12.ebuild 1400 MD5 697b62a1b281878b1212d2236aa808df burlap-3.0.8.ebuild 1374 @@ -5,3 +8,10 @@ MD5 c089b7d34f96c556a34bb8c402794023 files/build-2.1.12.xml 1546 MD5 7f2aa42b2e06ae864ebe9f4e946c1446 files/digest-burlap-2.1.12 66 MD5 665567e9968b5379daa1bc7eecaab593 files/digest-burlap-3.0.8 64 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2 (GNU/Linux) + +iD8DBQFDW372QiJ/wx066S4RAmVsAJ9BFDKR6I7lIe1qmuDYJnHpx+tE4wCgh2vI +haj1tYuohkF/aFdHeRhiGIQ= +=rDjC +-----END PGP SIGNATURE----- diff --git a/dev-java/burlap/burlap-2.1.12.ebuild b/dev-java/burlap/burlap-2.1.12.ebuild new file mode 100644 index 000000000000..144a1f5d3e1d --- /dev/null +++ b/dev-java/burlap/burlap-2.1.12.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/burlap/burlap-2.1.12.ebuild,v 1.1 2005/10/23 12:14:45 betelgeuse Exp $ + +inherit java-pkg + +DESCRIPTION="The Burlap web service protocol makes web services usable without requiring a large framework, and without learning yet another alphabet soup of protocols." +HOMEPAGE="http://www.caucho.com/burlap/" +SRC_URI="http://www.caucho.com/burlap/download/burlap-2.1.12-src.jar" + +LICENSE="Apache-1.1" +SLOT="2.1" +KEYWORDS="~x86" + +IUSE="doc jikes source" + +RDEPEND=">=virtual/jre-1.4 + =dev-java/servletapi-2.3*" +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + dev-java/ant-core + jikes? ( dev-java/jikes ) + source? ( app-arch/zip ) + ${RDEPEND}" + +src_unpack() { + mkdir -p ${P}/src + unzip -qq -d ${S}/src ${DISTDIR}/${A} + + cd ${S} + # No ant script! Bad upstream... bad! + cp ${FILESDIR}/build-${PVR}.xml build.xml + + # Populate classpath + echo classpath=$(java-pkg_getjar servletapi-2.3 servlet.jar) >> build.properties +} + +src_compile() { + local antflags="-Dproject.name=${PN} jar" + use jikes && antflags="-Dbuild.compiler=jikes ${antflags}" + use doc && antflags="${antflags} javadoc" + + ant ${antflags} || die "Compilation failed" +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + + use doc && java-pkg_dohtml -r dist/doc/api + use source && java-pkg_dosrc src/* +} diff --git a/dev-java/burlap/burlap-3.0.8.ebuild b/dev-java/burlap/burlap-3.0.8.ebuild new file mode 100644 index 000000000000..19aa2ca0adbd --- /dev/null +++ b/dev-java/burlap/burlap-3.0.8.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/burlap/burlap-3.0.8.ebuild,v 1.1 2005/10/23 12:14:45 betelgeuse Exp $ + +inherit java-pkg + +DESCRIPTION="The Burlap web service protocol makes web services usable without requiring a large framework, and without learning yet another alphabet soup of protocols." +HOMEPAGE="http://www.caucho.com/burlap/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="Apache-1.1" +SLOT="3.0" +KEYWORDS="~x86" + +IUSE="doc jikes source" + +RDEPEND=">=virtual/jre-1.4 + =dev-java/servletapi-2.3* + ~dev-java/hessian-${PV} + ~dev-java/caucho-services-${PV}" + +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + dev-java/ant-core + jikes? ( dev-java/jikes ) + source? ( app-arch/zip ) + ${RDEPEND}" + +src_compile() { + # Populate classpath + local classpath="$(java-pkg_getjar servletapi-2.3 servlet.jar)" + classpath="${classpath}:$(java-pkg_getjars hessian-3.0.8)" + classpath="${classpath}:$(java-pkg_getjars caucho-services-3.0)" + + local antflags="jar -Dclasspath=${classpath}" + use jikes && antflags="-Dbuild.compiler=jikes ${antflags}" + use doc && antflags="${antflags} javadoc" + + ant ${antflags} || die "Compilation failed" +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + + use doc && java-pkg_dohtml -r dist/doc/api + use source && java-pkg_dosrc src/* +} diff --git a/dev-java/burlap/files/build-2.1.12.xml b/dev-java/burlap/files/build-2.1.12.xml new file mode 100644 index 000000000000..4153ebfa4868 --- /dev/null +++ b/dev-java/burlap/files/build-2.1.12.xml @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--- + @author: Saleem Abdulrasool <compnerd@gentoo.org> + @date: 5/9/2005 + @revision: 1.0_alpha + + @notes: Call using the following: ant -f build.xml -Dproject.name=${project name} -Dpackage.name=${package name} +--> + +<project name="Gentoo_Builder" default="jar" basedir="."> + <property name="src" value="src"/> + <property name="build" value="build"/> + <property name="dist" value="dist"/> + + <property name="pkg" value="${package.name}"/> + <property name="jar" value="${project.name}.jar"/> + + <!-- Override any defined properties --> + <property file="build.properties"/> + + <target name="init"> + <tstamp/> + <mkdir dir="${build}"/> + <mkdir dir="${dist}"/> + <mkdir dir="${dist}/doc"/> + </target> + + <target name="compile" depends="init"> + <javac srcdir="${src}" destdir="${build}" classpath="${classpath}"/> + </target> + + <target name="manifest" depends="init"> + <manifest file="${build}/MANIFEST.MF" mode="update"> + <attribute name="Built-By" value="Gentoo Portage"/> + </manifest> + </target> + + <target name="jar" depends="compile,manifest"> + <jar jarfile="${dist}/${jar}" manifest="${build}/MANIFEST.MF"> + <fileset dir="${build}"/> + </jar> + </target> + + <target name="javadoc" depends="compile"> + <javadoc destdir="${dist}/doc/api"> + <fileset dir="${src}"/> + </javadoc> + </target> + + <target name="clean"> + <delete dir="${build}"/> + <delete dir="${dist}"/> + </target> +</project> diff --git a/dev-java/burlap/files/digest-burlap-2.1.12 b/dev-java/burlap/files/digest-burlap-2.1.12 new file mode 100644 index 000000000000..3a126a5856ef --- /dev/null +++ b/dev-java/burlap/files/digest-burlap-2.1.12 @@ -0,0 +1 @@ +MD5 389e112a1356bc1001a59cc810a04a42 burlap-2.1.12-src.jar 110064 diff --git a/dev-java/burlap/files/digest-burlap-3.0.8 b/dev-java/burlap/files/digest-burlap-3.0.8 new file mode 100644 index 000000000000..34a3ea7b1df7 --- /dev/null +++ b/dev-java/burlap/files/digest-burlap-3.0.8 @@ -0,0 +1 @@ +MD5 14004ea790142d7ea07c8bf07973cca5 burlap-3.0.8.tar.bz2 19835 diff --git a/dev-java/burlap/metadata.xml b/dev-java/burlap/metadata.xml new file mode 100644 index 000000000000..838c00a4a448 --- /dev/null +++ b/dev-java/burlap/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>java</herd> +</pkgmetadata> |