--- /dev/null
+# ChangeLog for sci-biology/picard
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/picard/ChangeLog,v 1.1 2012/01/04 03:41:51 weaver Exp $
+
+*picard-1.58 (04 Jan 2012)
+
+ 04 Jan 2012; Andrey Kislyuk <weaver@gentoo.org> +picard-1.58.ebuild,
+ +metadata.xml:
+ New package, ebuild written by me
+
--- /dev/null
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+EBUILD picard-1.58.ebuild 1052 RMD160 a687bd6ec8a6b6d1ef8fef214b25df82da644ac3 SHA1 fb06598dfb055fd975f835f50503fbba718cf520 SHA256 5b97cee24c7b6edc70efa00d2e8180c1d8790e25daa3edccbd9f963adee21725
+MISC ChangeLog 362 RMD160 5e67d7379b4a19f3c731dcce1468763894c3538a SHA1 6292932c3eeeb10f65c62453f1cc5f1af3b47375 SHA256 5f7ecc0b7339f01cf135b792d3f5efbb26bcbd2dabba257299555bdb23dd4af8
+MISC metadata.xml 259 RMD160 d9d81b67d635fabd81aef8ae0edf971211ae9072 SHA1 8e32f751c67ff891fa35405a2cf6fb33752d6eb1 SHA256 541c3fbcf299d9a8ccf4132ee61f9e53a5d737cefdaa6fdc77764d8d4c7f3110
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.11 (GNU/Linux)
+
+iEYEARECAAYFAk8DyoUACgkQ8xSwyhbn2Oa3qACfZSRGVzF4kvQYNeVN///hPiua
+7q0AmwfbNaAv6LYos4/XpmX3Owm03Liq
+=Mgj0
+-----END PGP SIGNATURE-----
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>weaver@gentoo.org</email>
+ <name>Andrey Kislyuk</name>
+ </maintainer>
+ <herd>sci-biology</herd>
+</pkgmetadata>
--- /dev/null
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/picard/picard-1.58.ebuild,v 1.1 2012/01/04 03:41:51 weaver Exp $
+
+EAPI=4
+
+#ESVN_REPO_URI="https://picard.svn.sourceforge.net/svnroot/picard/trunk"
+ESVN_REPO_URI="https://picard.svn.sourceforge.net/svnroot/picard/tags/${PV}"
+
+EANT_BUILD_TARGET="all"
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_NEEDS_TOOLS="true"
+WANT_ANT_TASKS="ant-apache-bcel"
+
+inherit subversion java-pkg-2 java-ant-2
+
+DESCRIPTION="Java-based command-line utilities that manipulate SAM files"
+HOMEPAGE="http://picard.sourceforge.net/"
+SRC_URI=""
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64"
+
+COMMON_DEPS=""
+DEPEND=">=virtual/jdk-1.6
+ dev-java/ant-apache-bcel:0
+ app-arch/zip
+ ${COMMON_DEPS}"
+RDEPEND=">=virtual/jre-1.6
+ ${COMMON_DEPS}"
+
+src_install() {
+ cd dist
+ for i in *-${PV}.jar; do java-pkg_newjar $i ${i/-${PV}/}; rm $i; done
+ java-pkg_dojar *.jar
+ for i in *.jar; do java-pkg_dolauncher ${i/.jar/} --jar $i; done
+}