diff options
author | William Thomson <wltjr@gentoo.org> | 2007-01-26 15:22:02 +0000 |
---|---|---|
committer | William Thomson <wltjr@gentoo.org> | 2007-01-26 15:22:02 +0000 |
commit | f1fabc31fbd39265446653d76fe17a1d151bef6a (patch) | |
tree | c6c22444e2a44da6c38ddf9e63a788f932acf742 /dev-java/edtftpj | |
parent | Change to fix bug #162851 (diff) | |
download | gentoo-2-f1fabc31fbd39265446653d76fe17a1d151bef6a.tar.gz gentoo-2-f1fabc31fbd39265446653d76fe17a1d151bef6a.tar.bz2 gentoo-2-f1fabc31fbd39265446653d76fe17a1d151bef6a.zip |
Migrated to gen 2
(Portage version: 2.1.2-r1)
Diffstat (limited to 'dev-java/edtftpj')
-rw-r--r-- | dev-java/edtftpj/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/edtftpj/edtftpj-1.5.3-r1.ebuild | 49 | ||||
-rw-r--r-- | dev-java/edtftpj/files/digest-edtftpj-1.5.3-r1 | 3 |
3 files changed, 59 insertions, 1 deletions
diff --git a/dev-java/edtftpj/ChangeLog b/dev-java/edtftpj/ChangeLog index 602d5c1fcc30..2b49f4c4c991 100644 --- a/dev-java/edtftpj/ChangeLog +++ b/dev-java/edtftpj/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/edtftpj # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/edtftpj/ChangeLog,v 1.15 2007/01/10 00:59:58 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/edtftpj/ChangeLog,v 1.16 2007/01/26 15:22:02 wltjr Exp $ + +*edtftpj-1.5.3-r1 (26 Jan 2007) + + 26 Jan 2007; William L. Thomson Jr. <wltjr@gentoo.org> + +edtftpj-1.5.3-r1.ebuild: + Migrated to gen 2 10 Jan 2007; Steve Dibb <beandog@gentoo.org> edtftpj-1.5.3.ebuild: amd64 stable, bug 159721 diff --git a/dev-java/edtftpj/edtftpj-1.5.3-r1.ebuild b/dev-java/edtftpj/edtftpj-1.5.3-r1.ebuild new file mode 100644 index 000000000000..5b9f2a397426 --- /dev/null +++ b/dev-java/edtftpj/edtftpj-1.5.3-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/edtftpj/edtftpj-1.5.3-r1.ebuild,v 1.1 2007/01/26 15:22:02 wltjr Exp $ + +inherit java-pkg-2 + +DESCRIPTION="FTP client library written in Java" +SRC_URI="http://www.enterprisedt.com/products/edtftpj/download/${P}.zip" +HOMEPAGE="http://www.enterprisedt.com" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc examples source" + +RDEPEND=">=virtual/jre-1.4 + dev-java/junit" + +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-core + ${RDEPEND} + source? ( app-arch/zip )" + +src_unpack() { + unpack "${A}" + find "${S}" -name "*.jar" | xargs rm -fr + rm "${S}/doc/LICENSE.TXT" || die "Failed to remove LICENSE.TXT" +} + +src_compile() { + cd ${S}/src + local antflags="jar -Dftp.classpath=$(java-pkg_getjars junit)" + eant ${antflags} $(use_doc javadocs) + +} + +src_install() { + use doc && java-pkg_dohtml -r build/doc/api + use source && java-pkg_dosrc src/com + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins demo/*.{java,txt} || die "Failed to install examples." + fi + + dodoc doc/*.TXT doc/*.pdf + + java-pkg_dojar lib/*.jar +} diff --git a/dev-java/edtftpj/files/digest-edtftpj-1.5.3-r1 b/dev-java/edtftpj/files/digest-edtftpj-1.5.3-r1 new file mode 100644 index 000000000000..445fe3481383 --- /dev/null +++ b/dev-java/edtftpj/files/digest-edtftpj-1.5.3-r1 @@ -0,0 +1,3 @@ +MD5 5baa52cd0aedfb6f94a5a161d2ca61ef edtftpj-1.5.3.zip 974094 +RMD160 15d3e60a2f75f9284c19520a3bf8e38ed1c5a1a2 edtftpj-1.5.3.zip 974094 +SHA256 c7d12fdb001448f5968743acc195672ec6c4833168a974437d3a08922ddef4d5 edtftpj-1.5.3.zip 974094 |