/[gentoo-x86]/dev-java/bcmail/bcmail-1.36.ebuild
Gentoo

Diff of /dev-java/bcmail/bcmail-1.36.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/dev-java/bcmail/Attic/bcmail-1.36.ebuild,v 1.1 2007/03/25 17:26:43 wltjr Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-java/bcmail/Attic/bcmail-1.36.ebuild,v 1.2 2007/03/29 14:34:00 wltjr Exp $
4 4
5JAVA_PKG_IUSE="doc source" 5JAVA_PKG_IUSE="doc source"
6 6
7inherit java-pkg-2 java-ant-2 7inherit java-pkg-2 java-ant-2
8 8
35src_compile() { 35src_compile() {
36 mkdir "${S}/classes" 36 mkdir "${S}/classes"
37 37
38 find org -name "*.java" > "${T}/src.list" 38 find org -name "*.java" > "${T}/src.list"
39 ejavac -d "${S}/classes" \ 39 ejavac -d "${S}/classes" \
40 -classpath $(java-pkg_getjars bcprov,junit,sun-javamail) \ 40 -classpath $(java-pkg_getjars bcprov,junit,sun-jaf,sun-javamail) \
41 "@${T}/src.list" 41 "@${T}/src.list"
42 42
43 cd "${S}/classes" 43 cd "${S}/classes"
44 jar -cf "${S}/${PN}.jar" * || die "failed to create jar" 44 jar -cf "${S}/${PN}.jar" * || die "failed to create jar"
45} 45}

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20