/[gentoo-x86]/eclass/java-utils-2.eclass
Gentoo

Diff of /eclass/java-utils-2.eclass

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

Revision 1.153 Revision 1.154
4# Copyright (c) 2004, Karl Trygve Kalleberg <karltk@gentoo.org> 4# Copyright (c) 2004, Karl Trygve Kalleberg <karltk@gentoo.org>
5# Copyright (c) 2004-2011, Gentoo Foundation 5# Copyright (c) 2004-2011, Gentoo Foundation
6# 6#
7# Licensed under the GNU General Public License, v2 7# Licensed under the GNU General Public License, v2
8# 8#
9# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.153 2013/04/17 18:01:48 sera Exp $ 9# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.154 2013/08/27 05:32:28 radhermit Exp $
10 10
11# ----------------------------------------------------------------------------- 11# -----------------------------------------------------------------------------
12# @eclass-begin 12# @eclass-begin
13# @eclass-shortdesc Java Utility eclass 13# @eclass-shortdesc Java Utility eclass
14# @eclass-maintainer java@gentoo.org 14# @eclass-maintainer java@gentoo.org
2329# ------------------------------------------------------------------------------ 2329# ------------------------------------------------------------------------------
2330java-pkg_init_paths_() { 2330java-pkg_init_paths_() {
2331 debug-print-function ${FUNCNAME} $* 2331 debug-print-function ${FUNCNAME} $*
2332 2332
2333 local pkg_name 2333 local pkg_name
2334 if [[ "$SLOT" == "0" ]] ; then 2334 if [[ "${SLOT%/*}" == "0" ]] ; then
2335 JAVA_PKG_NAME="${PN}" 2335 JAVA_PKG_NAME="${PN}"
2336 else 2336 else
2337 JAVA_PKG_NAME="${PN}-${SLOT}" 2337 JAVA_PKG_NAME="${PN}-${SLOT%/*}"
2338 fi 2338 fi
2339 2339
2340 JAVA_PKG_SHAREPATH="${DESTTREE}/share/${JAVA_PKG_NAME}" 2340 JAVA_PKG_SHAREPATH="${DESTTREE}/share/${JAVA_PKG_NAME}"
2341 JAVA_PKG_SOURCESPATH="${JAVA_PKG_SHAREPATH}/sources/" 2341 JAVA_PKG_SOURCESPATH="${JAVA_PKG_SHAREPATH}/sources/"
2342 JAVA_PKG_ENV="${D}${JAVA_PKG_SHAREPATH}/package.env" 2342 JAVA_PKG_ENV="${D}${JAVA_PKG_SHAREPATH}/package.env"

Legend:
Removed from v.1.153  
changed lines
  Added in v.1.154

  ViewVC Help
Powered by ViewVC 1.1.20