diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-06 20:54:04 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-06 20:54:04 +0000 |
commit | bf2887e9ec00a1e76779a00bf0906fe5590594ca (patch) | |
tree | 9e414b4119d41a45f26ff4a8b139235c18fd4a7d /dev-java/jcs | |
parent | Adding license for dev-java/jisp. (diff) | |
download | historical-bf2887e9ec00a1e76779a00bf0906fe5590594ca.tar.gz historical-bf2887e9ec00a1e76779a00bf0906fe5590594ca.tar.bz2 historical-bf2887e9ec00a1e76779a00bf0906fe5590594ca.zip |
Initial version.
Package-Manager: portage-2.1.1_pre2-r4
Diffstat (limited to 'dev-java/jcs')
-rw-r--r-- | dev-java/jcs/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/jcs/Manifest | 20 | ||||
-rw-r--r-- | dev-java/jcs/files/build-1.2.6.5.xml | 54 | ||||
-rw-r--r-- | dev-java/jcs/files/digest-jcs-1.2.6.5-r1 | 3 | ||||
-rw-r--r-- | dev-java/jcs/jcs-1.2.6.5-r1.ebuild | 64 | ||||
-rw-r--r-- | dev-java/jcs/metadata.xml | 5 |
6 files changed, 156 insertions, 0 deletions
diff --git a/dev-java/jcs/ChangeLog b/dev-java/jcs/ChangeLog new file mode 100644 index 000000000000..b40442d32b0a --- /dev/null +++ b/dev-java/jcs/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/jcs +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jcs/ChangeLog,v 1.1 2006/07/06 20:54:04 nelchael Exp $ + +*jcs-1.2.6.5-r1 (06 Jul 2006) + + 06 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org> + +files/build-1.2.6.5.xml, +metadata.xml, +jcs-1.2.6.5-r1.ebuild: + Initial commit, this ebuild should be used rather than dev-java/jcs-bin. + diff --git a/dev-java/jcs/Manifest b/dev-java/jcs/Manifest new file mode 100644 index 000000000000..648a85d6f6e9 --- /dev/null +++ b/dev-java/jcs/Manifest @@ -0,0 +1,20 @@ +AUX build-1.2.6.5.xml 1551 RMD160 0e93a53a29852d68e2a4e97c4829706dc177a18a SHA1 ac2245bd81b57c00abf2f46916f52cc257724f0a SHA256 ecb97d07966bcaa08a31abb99942fffd16e0aa4ff67768aa2b1c97b3f69f23bf +MD5 e965f2f2c67683e91e2ef982804b1b76 files/build-1.2.6.5.xml 1551 +RMD160 0e93a53a29852d68e2a4e97c4829706dc177a18a files/build-1.2.6.5.xml 1551 +SHA256 ecb97d07966bcaa08a31abb99942fffd16e0aa4ff67768aa2b1c97b3f69f23bf files/build-1.2.6.5.xml 1551 +DIST jcs-1.2.6.5.tar.bz2 11847582 RMD160 b9a1259bcb71c3cafc67db6b112f020ff4273e6a SHA1 aecb75d070a9a84f1dab472c6ee17028925625b8 SHA256 58cb7d3ad82a4015b0c2b44fd7ebea5eb9646f7383be3682c11ef6b442f3e0ba +EBUILD jcs-1.2.6.5-r1.ebuild 1603 RMD160 01a730f6dcec03f6a94e8c2bee945a199e3a1bcb SHA1 a74042b0ace84a662edcc17e2c006b39fea51aad SHA256 ba724445981ef9ac8d5a0d6f5884fa27d7d9db333f81730c017cf63de22ba3ba +MD5 738a4f53655b3d5386e15823aadfeb9e jcs-1.2.6.5-r1.ebuild 1603 +RMD160 01a730f6dcec03f6a94e8c2bee945a199e3a1bcb jcs-1.2.6.5-r1.ebuild 1603 +SHA256 ba724445981ef9ac8d5a0d6f5884fa27d7d9db333f81730c017cf63de22ba3ba jcs-1.2.6.5-r1.ebuild 1603 +MISC ChangeLog 340 RMD160 898d7678ba0ed1214d7cc54f67e84fba78f00f6f SHA1 4e5ad9e1ab8bd16d0098c8baa76f38ace16b8435 SHA256 a3707343ba4f9ab93b14dd9f2e55f38f73f18f76a6a1798a6d5dabb049ff8280 +MD5 5ea8abea14ae450db3852fb866f78e45 ChangeLog 340 +RMD160 898d7678ba0ed1214d7cc54f67e84fba78f00f6f ChangeLog 340 +SHA256 a3707343ba4f9ab93b14dd9f2e55f38f73f18f76a6a1798a6d5dabb049ff8280 ChangeLog 340 +MISC metadata.xml 159 RMD160 7da5c733c224383ffe350605bc36721a3ff2536f SHA1 99c2655c7bbee2cbc8c79edb2d00d481d62faf95 SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb +MD5 9f455923f62e1ecb14ebb7f29636850a metadata.xml 159 +RMD160 7da5c733c224383ffe350605bc36721a3ff2536f metadata.xml 159 +SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb metadata.xml 159 +MD5 bf53101d09030752f89a261d97e0bf59 files/digest-jcs-1.2.6.5-r1 244 +RMD160 4e3ae2a5bb7a18710af92880abf4cc315745fee6 files/digest-jcs-1.2.6.5-r1 244 +SHA256 94af3b5241aa8030496bfde532afc5fd02a71715470948c7823129ac453ae2c3 files/digest-jcs-1.2.6.5-r1 244 diff --git a/dev-java/jcs/files/build-1.2.6.5.xml b/dev-java/jcs/files/build-1.2.6.5.xml new file mode 100644 index 000000000000..e7e891095475 --- /dev/null +++ b/dev-java/jcs/files/build-1.2.6.5.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/java"/> + <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/jcs/files/digest-jcs-1.2.6.5-r1 b/dev-java/jcs/files/digest-jcs-1.2.6.5-r1 new file mode 100644 index 000000000000..cfb3c8f3f0be --- /dev/null +++ b/dev-java/jcs/files/digest-jcs-1.2.6.5-r1 @@ -0,0 +1,3 @@ +MD5 4f15a3bf18f3fb99eb5f87280e6a5445 jcs-1.2.6.5.tar.bz2 11847582 +RMD160 b9a1259bcb71c3cafc67db6b112f020ff4273e6a jcs-1.2.6.5.tar.bz2 11847582 +SHA256 58cb7d3ad82a4015b0c2b44fd7ebea5eb9646f7383be3682c11ef6b442f3e0ba jcs-1.2.6.5.tar.bz2 11847582 diff --git a/dev-java/jcs/jcs-1.2.6.5-r1.ebuild b/dev-java/jcs/jcs-1.2.6.5-r1.ebuild new file mode 100644 index 000000000000..e70f2651eb7d --- /dev/null +++ b/dev-java/jcs/jcs-1.2.6.5-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jcs/jcs-1.2.6.5-r1.ebuild,v 1.1 2006/07/06 20:54:04 nelchael Exp $ + +inherit java-pkg-2 java-ant-2 eutils + +MY_PN="jakarta-turbine-jcs" +DESCRIPTION="JCS is a distributed caching system written in java for server-side java applications" +HOMEPAGE="http://jakarta.apache.org/jcs/" +# svn co http://svn.apache.org/repos/asf/jakarta/jcs/tags/JCS_1_2_6_5/ jcs-1.2.6.5 +# rm -r jcs-1.2.6.5/tempbuild +# tar jcvf jcs-1.2.6.5.tar.bz2 jcs-1.2.6.5 +SRC_URI="http://gentooexperimental.org/distfiles/${P}.tar.bz2" + +LICENSE="Apache-2.0" +SLOT="1.2" +KEYWORDS="~amd64 ~x86" +IUSE="doc source" + +COMMON_DEPEND="dev-java/jgroups + =dev-java/servletapi-2.3* + dev-java/commons-lang + dev-java/xmlrpc + dev-java/concurrent-util + dev-java/velocity + =dev-java/jisp-2.5* + =dev-java/struts-1.1* + dev-db/hsqldb" +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-core + source? ( app-arch/zip ) + ${COMMON_DEPEND}" +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEPEND}" + +#S=${WORKDIR}/${MY_PN} + +LIBRARY_PKGS="jgroups,servletapi-2.3,commons-lang,xmlrpc,concurrent-util,velocity,jisp-2.5,struts-1.1,hsqldb" + +ant_src_unpack() { + unpack ${A} + + cd ${S} + # TODO submit jikes patch upstream + #epatch ${FILESDIR}/${P}-jikes.patch + + # use our own build.xml because jcs's is demented by maven + cp ${FILESDIR}/build-${PV}.xml build.xml + + cat > build.properties <<-END + classpath=$(java-pkg_getjars ${LIBRARY_PKGS}) + END +} + +src_compile() { + eant jar -Dproject.name=${PN} $(use_doc) +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + + use doc && java-pkg_dohtml -r dist/doc/api + use source && java-pkg_dosrc src/java/* +} diff --git a/dev-java/jcs/metadata.xml b/dev-java/jcs/metadata.xml new file mode 100644 index 000000000000..250f2d1940ea --- /dev/null +++ b/dev-java/jcs/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> |