summaryrefslogtreecommitdiff
blob: 588e30ec687ede8d4680a6092fa15a4b8c4fea0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4

inherit subversion java-pkg-2 java-ant-2

ESVN_REPO_URI="http://naga.googlecode.com/svn/trunk@57"
MY_PV=${PV//./_}
MY_PVR="${MY_PV}-r43"

DESCRIPTION="Simplified Java NIO asynchronous sockets"
HOMEPAGE="http://code.google.com/p/naga/"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND=">=virtual/jdk-1.5
	dev-java/ant-core"
RDEPEND=">=virtual/jre-1.5"

src_compile() {
	eant build
}

src_install() {
	java-pkg_newjar _DIST/${PN}-${MY_PVR}.jar ${PN}.jar
}