diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2007-01-20 18:49:48 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2007-01-20 18:49:48 +0000 |
commit | 1d908fa93dafd3a6f6621a9795a850f3a16eb123 (patch) | |
tree | 40a86729caafe7b9b64e337918f0f5c27490ee23 /dev-java/jcs | |
parent | Add x11-misc/imake to DEPEND. (bug #162728) (diff) | |
download | gentoo-2-1d908fa93dafd3a6f6621a9795a850f3a16eb123.tar.gz gentoo-2-1d908fa93dafd3a6f6621a9795a850f3a16eb123.tar.bz2 gentoo-2-1d908fa93dafd3a6f6621a9795a850f3a16eb123.zip |
Version bump.
(Portage version: 2.1.2-r1)
Diffstat (limited to 'dev-java/jcs')
-rw-r--r-- | dev-java/jcs/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/jcs/files/build-1.2.7.9.xml | 40 | ||||
-rw-r--r-- | dev-java/jcs/files/digest-jcs-1.2.7.9 | 3 | ||||
-rw-r--r-- | dev-java/jcs/jcs-1.2.7.9.ebuild | 69 |
4 files changed, 120 insertions, 2 deletions
diff --git a/dev-java/jcs/ChangeLog b/dev-java/jcs/ChangeLog index e5e1b0ea87af..aa9a9ad76b83 100644 --- a/dev-java/jcs/ChangeLog +++ b/dev-java/jcs/ChangeLog @@ -1,6 +1,12 @@ # 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.5 2006/09/24 09:54:52 nelchael Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jcs/ChangeLog,v 1.6 2007/01/20 18:49:48 nelchael Exp $ + +*jcs-1.2.7.9 (20 Jan 2007) + + 20 Jan 2007; Krzysiek Pawlik <nelchael@gentoo.org> + +files/build-1.2.7.9.xml, +jcs-1.2.7.9.ebuild: + Version bump. 24 Sep 2006; Krzysiek Pawlik <nelchael@gentoo.org> -files/build-1.2.6.5.xml, files/build-1.2.7.8.xml, -jcs-1.2.6.5-r1.ebuild, diff --git a/dev-java/jcs/files/build-1.2.7.9.xml b/dev-java/jcs/files/build-1.2.7.9.xml new file mode 100644 index 000000000000..f3623a42de76 --- /dev/null +++ b/dev-java/jcs/files/build-1.2.7.9.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="utf-8"?> +<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"/> + <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}"/> + <fileset dir="${src}"> + <include name="**/*.vm"/> + </fileset> + </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.7.9 b/dev-java/jcs/files/digest-jcs-1.2.7.9 new file mode 100644 index 000000000000..7bc86d622c15 --- /dev/null +++ b/dev-java/jcs/files/digest-jcs-1.2.7.9 @@ -0,0 +1,3 @@ +MD5 663ace3f19e081e444725482d746db75 jcs-1.2.7.9.tar.bz2 570289 +RMD160 05cc8230eb04c26ca1976c346d30f0f80bde6180 jcs-1.2.7.9.tar.bz2 570289 +SHA256 9963cfb34fd813167b52907f21c2c5123f8a78b2d4fe2d21802967fb097735cf jcs-1.2.7.9.tar.bz2 570289 diff --git a/dev-java/jcs/jcs-1.2.7.9.ebuild b/dev-java/jcs/jcs-1.2.7.9.ebuild new file mode 100644 index 000000000000..4cb45b22e32a --- /dev/null +++ b/dev-java/jcs/jcs-1.2.7.9.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jcs/jcs-1.2.7.9.ebuild,v 1.1 2007/01/20 18:49:48 nelchael Exp $ + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="JCS is a distributed caching system written in java for server-side java applications" +HOMEPAGE="http://jakarta.apache.org/jcs/" +# Yes, it's a checkout from JCS SVN... +# http://svn.apache.org/repos/asf/jakarta/jcs/tags/ +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="Apache-2.0" +SLOT="1.2" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="admin doc source" + +RDEPEND=">=virtual/jre-1.4 + =dev-java/jisp-2.5* + =dev-java/servletapi-2.3* + dev-db/hsqldb + dev-java/commons-dbcp + =dev-java/commons-lang-2.0* + dev-java/commons-logging + dev-java/commons-pool + dev-java/concurrent-util + dev-java/jgroups + dev-java/xmlrpc + admin? ( dev-java/velocity )" +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-core + source? ( app-arch/zip ) + ${RDEPEND}" + +LIBRARY_PKGS="jgroups,servletapi-2.3,commons-lang,commons-logging,commons-pool,commons-dbcp,xmlrpc,concurrent-util,jisp-2.5,hsqldb" + +src_unpack() { + unpack ${A} + + cd "${S}" + + # use our own build.xml because jcs's is demented by maven + cp "${FILESDIR}/build-${PV}.xml" build.xml + + if use admin; then + LIBRARY_PKGS="${LIBRARY_PKGS},velocity" + else + ewarn + ewarn "JCS Admin is disabled, if you want it hit Ctrl-C and add" + ewarn "\"admin\" USE flag." + ewarn + rm -fr ${S}/src/java/org/apache/jcs/admin + fi + + 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/* +} |