/[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.21 Revision 1.22
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.21 2015/06/04 10:36:27 jlec Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/intel-sdp.eclass,v 1.22 2015/06/15 19:09:28 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>
414 414
415# @FUNCTION: intel-sdp_src_install 415# @FUNCTION: intel-sdp_src_install
416# @DESCRIPTION: 416# @DESCRIPTION:
417# Install everything 417# Install everything
418intel-sdp_src_install() { 418intel-sdp_src_install() {
419 if path_exists "${INTEL_SDP_DIR}"/uninstall*; then
420 ebegin "Cleaning out uninstall information"
421 find "${INTEL_SDP_DIR}"/uninstall* -delete || die
422 eend
423 fi
424
419 if [[ -d "${INTEL_SDP_DIR}"/Documentation ]]; then 425 if path_exists "${INTEL_SDP_DIR}"/Documentation; then
420 dodoc -r "${INTEL_SDP_DIR}"/Documentation/* 426 dodoc -r "${INTEL_SDP_DIR}"/Documentation/*
421 427
422 ebegin "Cleaning out documentation" 428 ebegin "Cleaning out documentation"
423 find "${INTEL_SDP_DIR}"/Documentation -delete || die 429 find "${INTEL_SDP_DIR}"/Documentation -delete || die
424 eend 430 eend
425 fi 431 fi
426 432
427 if [[ -d "${INTEL_SDP_DIR}"/Samples ]]; then 433 if path_exists "${INTEL_SDP_DIR}"/Samples; then
428 if use examples ; then 434 if use examples ; then
429 insinto /usr/share/${P}/examples/ 435 insinto /usr/share/${P}/examples/
430 doins -r "${INTEL_SDP_DIR}"/Samples/* 436 doins -r "${INTEL_SDP_DIR}"/Samples/*
431 fi 437 fi
432 ebegin "Cleaning out examples" 438 ebegin "Cleaning out examples"
433 find "${INTEL_SDP_DIR}"/Samples -delete || die 439 find "${INTEL_SDP_DIR}"/Samples -delete || die
434 eend 440 eend
435 fi 441 fi
436 442
437 if [[ -d "${INTEL_SDP_DIR}"/eclipse_support ]]; then 443 if path_exists "${INTEL_SDP_DIR}"/eclipse_support; then
438 if has eclipse ${IUSE} && use eclipse; then 444 if has eclipse ${IUSE} && use eclipse; then
439 _isdp_link_eclipse_plugins 445 _isdp_link_eclipse_plugins
440 else 446 else
441 ebegin "Cleaning out eclipse plugin" 447 ebegin "Cleaning out eclipse plugin"
442 find "${INTEL_SDP_DIR}"/eclipse_support -delete || die 448 find "${INTEL_SDP_DIR}"/eclipse_support -delete || die
443 eend 449 eend
444 fi 450 fi
445 fi 451 fi
446 452
447 if [[ -d "${INTEL_SDP_DIR}"/man ]]; then 453 if path_exists "${INTEL_SDP_DIR}"/man; then
448 path_exists "${INTEL_SDP_DIR}"/man/en_US/man1/* && \ 454 path_exists "${INTEL_SDP_DIR}"/man/en_US/man1/* && \
449 doman "${INTEL_SDP_DIR}"/man/en_US/man1/* 455 doman "${INTEL_SDP_DIR}"/man/en_US/man1/*
450 path_exists "${INTEL_SDP_DIR}"/man/man1/* && \ 456 path_exists "${INTEL_SDP_DIR}"/man/man1/* && \
451 doman "${INTEL_SDP_DIR}"/man/man1/* 457 doman "${INTEL_SDP_DIR}"/man/man1/*
452 has linguas_ja ${IUSE} && use linguas_ja && \ 458 has linguas_ja ${IUSE} && use linguas_ja && \

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

  ViewVC Help
Powered by ViewVC 1.1.20