/[gentoo-x86]/eclass/vdr-plugin-2.eclass
Gentoo

Diff of /eclass/vdr-plugin-2.eclass

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

Revision 1.19 Revision 1.20
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 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/vdr-plugin-2.eclass,v 1.19 2013/01/04 13:23:43 hd_brummy Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin-2.eclass,v 1.20 2013/01/27 10:17:13 hd_brummy Exp $
4 4
5# @ECLASS: vdr-plugin-2.eclass 5# @ECLASS: vdr-plugin-2.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# vdr@gentoo.org 7# vdr@gentoo.org
8# @BLURB: common vdr plugin ebuild functions 8# @BLURB: common vdr plugin ebuild functions
591 591
592 cd "${S}" 592 cd "${S}"
593 593
594 local SOFILE_STRING=$(grep SOFILE Makefile) 594 local SOFILE_STRING=$(grep SOFILE Makefile)
595 if [[ -n ${SOFILE_STRING} ]]; then 595 if [[ -n ${SOFILE_STRING} ]]; then
596 dev_check "installing with new Makefile handling" 596 dev_check "einstall with new Makefile handling"
597 BUILD_TARGETS=${BUILD_TARGETS:-${VDRPLUGIN_MAKE_TARGET:-install }} 597 BUILD_TARGETS=${BUILD_TARGETS:-${VDRPLUGIN_MAKE_TARGET:-install }}
598 einstall ${BUILD_PARAMS} \ 598 einstall ${BUILD_PARAMS} \
599 ${BUILD_TARGETS} \ 599 ${BUILD_TARGETS} \
600 LOCDIR="${TMP_LOCALE_DIR}" \
601 LIBDIR="${S}" \
602 TMPDIR="${T}" \ 600 TMPDIR="${T}" \
603 DESTDIR="${D}" \ 601 DESTDIR="${D}" \
604 || die "einstall (makefile target) failed" 602 || die "einstall (makefile target) failed"
605 fi 603 else
606
607 insinto "${VDR_PLUGIN_DIR}" 604 insinto "${VDR_PLUGIN_DIR}"
608 doins libvdr-*.so.* 605 doins libvdr-*.so.*
606 fi
609 607
610 if [[ -d ${TMP_LOCALE_DIR} ]]; then 608 if [[ -d ${TMP_LOCALE_DIR} ]]; then
611 einfo "Installing locales" 609 einfo "Installing locales"
612 cd "${TMP_LOCALE_DIR}" 610 cd "${TMP_LOCALE_DIR}"
613 611

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

  ViewVC Help
Powered by ViewVC 1.1.20