blob: 696d9adbc193c35570fbc3af6347aec8d3560333 (
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-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/absolutelayout/absolutelayout-6.7_beta.ebuild,v 1.3 2009/05/24 03:25:29 ali_bush Exp $
inherit java-pkg-2 java-ant-2
DESCRIPTION="AbsoluteLayout files extracted from Netbeans"
HOMEPAGE="http://www.netbeans.org/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="|| ( GPL-2 CDDL )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=virtual/jre-1.4"
DEPEND=">=virtual/jdk-1.4"
S="${WORKDIR}"
src_compile() {
mkdir build
ejavac -d build $(find . -iname '*.java')
jar cf "${PN}.jar" -C build org
}
src_install() {
java-pkg_dojar "${PN}.jar"
}
|