alpha-quadrant/dev-java/jarjar/jarjar-1.1.ebuild

31 lines
630 B
Bash
Raw Normal View History

2011-05-10 12:28:34 +02:00
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit java-pkg-2 java-ant-2
DESCRIPTION="Tool for repackaging third-party jars."
HOMEPAGE="http://code.google.com/p/jarjar/"
SRC_URI="http://${PN}.googlecode.com/files/${P}.jar"
LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="~amd64"
IUSE=""
COMMON_DEP="dev-java/ant-core:0"
RDEPEND=">=virtual/jre-1.5
${COMMON_DEP}"
DEPEND=">=virtual/jdk-1.5
${COMMON_DEP}"
src_unpack() {
einfo "Nothing to unpack"
}
src_install() {
java-pkg_newjar "${DISTDIR}/${P}.jar" "${PN}.jar"
java-pkg_register-ant-task
}