diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-08-13 11:42:47 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-08-13 11:42:47 +0000 |
commit | 64245778c5f8715193d3a9870b678af0987b7204 (patch) | |
tree | f89860ab916d8dc77eeeb48b0d308af669c5eed9 /dev-java/jcs | |
parent | Bug #139478 - changed description. Thanks Marko Horvat for 'reporting'! ;) (diff) | |
download | gentoo-2-64245778c5f8715193d3a9870b678af0987b7204.tar.gz gentoo-2-64245778c5f8715193d3a9870b678af0987b7204.tar.bz2 gentoo-2-64245778c5f8715193d3a9870b678af0987b7204.zip |
Version bump.
(Portage version: 2.1.1_pre5)
Diffstat (limited to 'dev-java/jcs')
-rw-r--r-- | dev-java/jcs/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/jcs/files/build-1.2.7.8.xml | 54 | ||||
-rw-r--r-- | dev-java/jcs/files/digest-jcs-1.2.7.8 | 3 | ||||
-rw-r--r-- | dev-java/jcs/jcs-1.2.7.8.ebuild | 60 |
4 files changed, 124 insertions, 1 deletions
diff --git a/dev-java/jcs/ChangeLog b/dev-java/jcs/ChangeLog index b053cb517eee..b0e47b012adc 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.2 2006/07/22 20:46:40 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jcs/ChangeLog,v 1.3 2006/08/13 11:42:47 nelchael Exp $ + +*jcs-1.2.7.8 (13 Aug 2006) + + 13 Aug 2006; Krzysiek Pawlik <nelchael@gentoo.org> + +files/build-1.2.7.8.xml, +jcs-1.2.7.8.ebuild: + Version bump. 22 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org> jcs-1.2.6.5-r1.ebuild: ant_src_unpack -> src_unpack diff --git a/dev-java/jcs/files/build-1.2.7.8.xml b/dev-java/jcs/files/build-1.2.7.8.xml new file mode 100644 index 000000000000..e7e891095475 --- /dev/null +++ b/dev-java/jcs/files/build-1.2.7.8.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.7.8 b/dev-java/jcs/files/digest-jcs-1.2.7.8 new file mode 100644 index 000000000000..6c614d18379f --- /dev/null +++ b/dev-java/jcs/files/digest-jcs-1.2.7.8 @@ -0,0 +1,3 @@ +MD5 ac7a6aba7bc0387c2f68dc17c9da0238 jcs-1.2.7.8.tar.bz2 562047 +RMD160 86ef8c0a76de8f81ae4e1f859f7c71ec5c6b7c1d jcs-1.2.7.8.tar.bz2 562047 +SHA256 86bc1a5a80fbc2e3ec426bc3896c30281355bd1816524923d95dcd5e2e594222 jcs-1.2.7.8.tar.bz2 562047 diff --git a/dev-java/jcs/jcs-1.2.7.8.ebuild b/dev-java/jcs/jcs-1.2.7.8.ebuild new file mode 100644 index 000000000000..549ccb86fcab --- /dev/null +++ b/dev-java/jcs/jcs-1.2.7.8.ebuild @@ -0,0 +1,60 @@ +# 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.7.8.ebuild,v 1.1 2006/08/13 11:42:47 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... +SRC_URI="mirror://gentoo/${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/commons-logging + dev-java/commons-pool + dev-java/commons-dbcp + 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}" + +LIBRARY_PKGS="jgroups,servletapi-2.3,commons-lang,commons-logging,commons-pool,commons-dbcp,xmlrpc,concurrent-util,velocity,jisp-2.5,struts-1.1,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 + + 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/* +} |