/[gentoo-x86]/eclass/intel-sdp.eclass
Gentoo

Diff of /eclass/intel-sdp.eclass

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

Revision 1.20 Revision 1.21
1# Copyright 1999-2015 Gentoo Foundation 1# Copyright 1999-2015 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/eclass/intel-sdp.eclass,v 1.20 2015/06/04 10:22:33 jlec Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/intel-sdp.eclass,v 1.21 2015/06/04 10:36:27 jlec Exp $
4 4
5# @ECLASS: intel-sdp.eclass 5# @ECLASS: intel-sdp.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Justin Lecher <jlec@gentoo.org> 7# Justin Lecher <jlec@gentoo.org>
8# Sci Team <sci@gentoo.org> 8# Sci Team <sci@gentoo.org>
110# @ECLASS-VARIABLE: INTEL_SDP_DB 110# @ECLASS-VARIABLE: INTEL_SDP_DB
111# @DESCRIPTION: 111# @DESCRIPTION:
112# Full path to intel registry db 112# Full path to intel registry db
113INTEL_SDP_DB="${EROOT%/}"/opt/intel/intel-sdp-products.db 113INTEL_SDP_DB="${EROOT%/}"/opt/intel/intel-sdp-products.db
114 114
115inherit check-reqs multilib versionator 115inherit check-reqs eutils multilib versionator
116 116
117_INTEL_PV1=$(get_version_component_range 1) 117_INTEL_PV1=$(get_version_component_range 1)
118_INTEL_PV2=$(get_version_component_range 2) 118_INTEL_PV2=$(get_version_component_range 2)
119_INTEL_PV3=$(get_version_component_range 3) 119_INTEL_PV3=$(get_version_component_range 3)
120_INTEL_PV4=$(get_version_component_range 4) 120_INTEL_PV4=$(get_version_component_range 4)
443 eend 443 eend
444 fi 444 fi
445 fi 445 fi
446 446
447 if [[ -d "${INTEL_SDP_DIR}"/man ]]; then 447 if [[ -d "${INTEL_SDP_DIR}"/man ]]; then
448 ls "${INTEL_SDP_DIR}"/man/en_US/man1/* &> /dev/null && 448 path_exists "${INTEL_SDP_DIR}"/man/en_US/man1/* && \
449 doman "${INTEL_SDP_DIR}"/man/en_US/man1/* 449 doman "${INTEL_SDP_DIR}"/man/en_US/man1/*
450 ls "${INTEL_SDP_DIR}"/man/man1/* &> /dev/null && 450 path_exists "${INTEL_SDP_DIR}"/man/man1/* && \
451 doman "${INTEL_SDP_DIR}"/man/man1/* 451 doman "${INTEL_SDP_DIR}"/man/man1/*
452 has linguas_ja ${IUSE} && use linguas_ja && \ 452 has linguas_ja ${IUSE} && use linguas_ja && \
453 doman -i18n=ja_JP "${INTEL_SDP_DIR}"/man/ja_JP/man1/* 453 doman -i18n=ja_JP "${INTEL_SDP_DIR}"/man/ja_JP/man1/*
454 454
455 find "${INTEL_SDP_DIR}"/man -delete || die 455 find "${INTEL_SDP_DIR}"/man -delete || die

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

  ViewVC Help
Powered by ViewVC 1.1.20