You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
809 B
41 lines
809 B
3 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
5 years ago
|
EAPI=7
|
||
6 years ago
|
|
||
13 years ago
|
JAVA_PKG_IUSE="source"
|
||
|
|
||
5 years ago
|
inherit java-pkg-2 java-ant-2
|
||
13 years ago
|
|
||
|
DESCRIPTION="Resin Servlet API 2.4/JSP API 2.0 implementation"
|
||
|
HOMEPAGE="http://www.caucho.com/"
|
||
|
SRC_URI="http://www.caucho.com/download/resin-${PV}-src.zip
|
||
|
mirror://gentoo/resin-gentoo-patches-${PV}.tar.bz2"
|
||
|
|
||
5 years ago
|
LICENSE="GPL-2+"
|
||
13 years ago
|
SLOT="2.4"
|
||
9 years ago
|
KEYWORDS="amd64 ppc64 x86"
|
||
13 years ago
|
|
||
3 years ago
|
DEPEND=">=virtual/jdk-1.8:*"
|
||
|
RDEPEND=">=virtual/jre-1.8:*"
|
||
|
BDEPEND="app-arch/unzip"
|
||
13 years ago
|
|
||
|
S="${WORKDIR}/resin-${PV}"
|
||
|
|
||
5 years ago
|
EANT_BUILD_TARGET="jsdk"
|
||
|
EANT_DOC_TARGET=""
|
||
13 years ago
|
|
||
3 years ago
|
PATCHES=(
|
||
|
"${WORKDIR}/${PV}/resin-${PV}-build.xml.patch"
|
||
|
)
|
||
|
|
||
5 years ago
|
src_prepare() {
|
||
|
default
|
||
|
mkdir lib || die
|
||
13 years ago
|
}
|
||
|
|
||
|
src_install() {
|
||
|
java-pkg_newjar "lib/jsdk-24.jar"
|
||
|
use source && java-pkg_dosrc "${S}"/modules/jsdk/src/*
|
||
|
}
|