diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-09-10 10:27:12 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-09-10 10:27:12 +0000 |
commit | 4fb6c77f806b5178febc12ba14cfb64123d10328 (patch) | |
tree | 7e63cae92d447278b97ae159c24eafc6de053177 /dev-java/cpptasks | |
parent | New upstream version. (diff) | |
download | historical-4fb6c77f806b5178febc12ba14cfb64123d10328.tar.gz historical-4fb6c77f806b5178febc12ba14cfb64123d10328.tar.bz2 historical-4fb6c77f806b5178febc12ba14cfb64123d10328.zip |
Version bump, migrated to new Java build system.
Package-Manager: portage-2.1.1
Diffstat (limited to 'dev-java/cpptasks')
-rw-r--r-- | dev-java/cpptasks/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/cpptasks/cpptasks-1.0_beta4.ebuild | 55 | ||||
-rw-r--r-- | dev-java/cpptasks/files/digest-cpptasks-1.0_beta4 | 3 | ||||
-rw-r--r-- | dev-java/cpptasks/metadata.xml | 2 |
4 files changed, 67 insertions, 3 deletions
diff --git a/dev-java/cpptasks/ChangeLog b/dev-java/cpptasks/ChangeLog index 59547558c78f..067d68a9f9fe 100644 --- a/dev-java/cpptasks/ChangeLog +++ b/dev-java/cpptasks/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/cpptasks -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/cpptasks/ChangeLog,v 1.1 2005/12/19 04:21:05 nichoj Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/cpptasks/ChangeLog,v 1.2 2006/09/10 10:27:12 nelchael Exp $ + +*cpptasks-1.0_beta4 (10 Sep 2006) + + 10 Sep 2006; Krzysiek Pawlik <nelchael@gentoo.org> metadata.xml, + -cpptasks-1.0_beta3.ebuild, +cpptasks-1.0_beta4.ebuild: + Version bump, migrated to new Java build system. *cpptasks-1.0_beta3 (19 Dec 2005) diff --git a/dev-java/cpptasks/cpptasks-1.0_beta4.ebuild b/dev-java/cpptasks/cpptasks-1.0_beta4.ebuild new file mode 100644 index 000000000000..089ae56f59b3 --- /dev/null +++ b/dev-java/cpptasks/cpptasks-1.0_beta4.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/cpptasks/cpptasks-1.0_beta4.ebuild,v 1.1 2006/09/10 10:27:12 nelchael Exp $ + +inherit java-pkg-2 java-ant-2 + +MY_P="${PN}-${PV/_beta/b}" +DESCRIPTION="Ant-tasks to compile various source languages and produce executables, shared libraries and static libraries" +HOMEPAGE="http://ant-contrib.sourceforge.net/" +SRC_URI="mirror://sourceforge/ant-contrib/${MY_P}.tar.gz" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc source examples" + +RDEPEND=">=virtual/jre-1.4 + >=dev-java/ant-core-1.5 + =dev-java/xerces-2*" +DEPEND=">=virtual/jdk-1.4 + ${RDEPEND} + source? ( app-arch/zip )" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + + unpack ${A} + cd ${S} + rm -f *.jar + java-ant_rewrite-classpath "${S}/build.xml" + +} + +src_compile() { + + local antflags="jars" + use doc && antflags="${antflags} javadocs -Dbuild.javadocs=build/api" + eant \ + -Dgentoo.classpath=$(java-pkg_getjars ant-core xerces-2) \ + ${antflags} + +} + +src_install() { + + java-pkg_dojar build/lib/${PN}.jar + + dosym /usr/share/${PN}/lib/${PN}.jar /usr/share/ant-core/lib/ + + dodoc NOTICE + use doc && java-pkg_dohtml -r build/api + use examples && dodoc samples/* + use source && java-pkg_dosrc src/net + +} diff --git a/dev-java/cpptasks/files/digest-cpptasks-1.0_beta4 b/dev-java/cpptasks/files/digest-cpptasks-1.0_beta4 new file mode 100644 index 000000000000..9a584bcf595f --- /dev/null +++ b/dev-java/cpptasks/files/digest-cpptasks-1.0_beta4 @@ -0,0 +1,3 @@ +MD5 1b770a0b07a9f2f3c558bca1ad619439 cpptasks-1.0b4.tar.gz 879715 +RMD160 bfd90f71412ead94023da3b0a4156309dd4f6f4a cpptasks-1.0b4.tar.gz 879715 +SHA256 3472af7389c5a7daaff48a054c2b9f10994b55352025b8a2249a7dfcebca14c8 cpptasks-1.0b4.tar.gz 879715 diff --git a/dev-java/cpptasks/metadata.xml b/dev-java/cpptasks/metadata.xml index 7303cef96964..250f2d1940ea 100644 --- a/dev-java/cpptasks/metadata.xml +++ b/dev-java/cpptasks/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>java</herd> + <herd>java</herd> </pkgmetadata> |