diff options
Diffstat (limited to 'dev-java/sun-ejb-spec/sun-ejb-spec-2.1.ebuild')
-rw-r--r-- | dev-java/sun-ejb-spec/sun-ejb-spec-2.1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-java/sun-ejb-spec/sun-ejb-spec-2.1.ebuild b/dev-java/sun-ejb-spec/sun-ejb-spec-2.1.ebuild new file mode 100644 index 000000000000..c72ea287bdca --- /dev/null +++ b/dev-java/sun-ejb-spec/sun-ejb-spec-2.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-ejb-spec/sun-ejb-spec-2.1.ebuild,v 1.1 2006/01/22 03:41:50 nichoj Exp $ + +inherit java-pkg versionator + +MY_PN=ejb +MY_PV=$(replace_all_version_separators _) +MY_P="${MY_PN}-${MY_PV}" +At="${MY_P}-fr-spec-api.zip" +DESCRIPTION="Sun's Enterprise Java Beans specification" +HOMEPAGE="http://java.sun.com/products/ejb/" +SRC_URI="${At}" +DOWNLOAD_URL="http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=ejb-${PV}-fr-class-oth-JSpec&SiteId=JSC&TransactionId=noreg" + +LICENSE="sun-ejb-spec-2.1" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +RDEPEND=">=virtual/jre-1.4" +DEPEND="app-arch/unzip" +RESTRICT="fetch" + +S="${WORKDIR}" + +pkg_nofetch() { + einfo "Please download ${A} from the following URL and place it in ${DISTDIR}:" + einfo "${DOWNLOAD_URL}" + einfo "The link is found under '2.1 Final Release', next to 'Download Class Files'" +} + + +src_install() { + java-pkg_newjar ${MY_P}-api.jar ${MY_PN}-api.jar +} |