blob: 0cca1d676ed873f3acd93f55261037e2a05c3f90 (
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.5 2009/09/06 08:43:12 maekke 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"
}
|