Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115350 - ebuild: dev-java/sun-javamail-bin-1.3.3.ebuild
Summary: ebuild: dev-java/sun-javamail-bin-1.3.3.ebuild
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-12 13:17 UTC by William L. Thomson Jr. (RETIRED)
Modified: 2005-12-12 13:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description William L. Thomson Jr. (RETIRED) gentoo-dev 2005-12-12 13:17:10 UTC
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
/var/cvsroot/gentoo-x86/dev-java/sun-javamail-bin/sun-javamail-bin-1.3.3.ebuild,v
1.9 2005/07/12 23:37:10 axxo Exp $

inherit java-pkg

At="javamail-${PV//./_}_01.zip"
S=${WORKDIR}/javamail-${PV}_01
DESCRIPTION="A Java-based framework to build multiplatform mail and messaging
applications."
SRC_URI="${At}"
HOMEPAGE="http://java.sun.com/products/javamail/index.html"
KEYWORDS="x86 ppc sparc amd64 ppc64"
LICENSE="sun-bcla-javamail"
SLOT="0"
DEPEND=">=app-arch/unzip-5.50-r1"
RDEPEND=">=virtual/jdk-1.2
        >=dev-java/sun-jaf-bin-1.0.2"
IUSE="doc"
DEP_APPEND="sun-jaf-bin"
RESTRICT="fetch"

pkg_nofetch() {
        einfo
        einfo " Due to license restrictions, we cannot fetch the"
        einfo " distributables automagically."
        einfo
        einfo " 1. Visit ${HOMEPAGE}"
        einfo " 2. Download ${At}"
        einfo " 3. Move file to ${DISTDIR}"
        einfo
}

src_unpack() {
        unzip -qq ${DISTDIR}/${At} || die "failed too unpack"
}

src_install() {
        dodoc CHANGES.txt LICENSE.txt README.txt NOTES.txt SSLNOTES.txt
distributionREADME.txt
        use doc && java-pkg_dohtml -r docs/
        java-pkg_dojar mail.jar lib/*.jar
}


Reproducible: Always
Steps to Reproduce:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-12 13:19:31 UTC
Hmmm, but we already have 1.3.3.01 in portage. :)