/[gentoo-x86]/eclass/mythtv-plugins.eclass
Gentoo

Diff of /eclass/mythtv-plugins.eclass

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

Revision 1.38 Revision 1.39
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2006 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/mythtv-plugins.eclass,v 1.38 2010/06/16 05:29:21 cardoe Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv-plugins.eclass,v 1.39 2011/07/08 11:35:01 ssuominen Exp $
4# 4#
5# @ECLASS: mythtv-plugins.eclass 5# @ECLASS: mythtv-plugins.eclass
6# @AUTHOR: Doug Goldstein <cardoe@gentoo.org> 6# @AUTHOR: Doug Goldstein <cardoe@gentoo.org>
7# @MAINTAINER: Doug Goldstein <cardoe@gentoo.org> 7# @MAINTAINER: Doug Goldstein <cardoe@gentoo.org>
8# @BLURB: Installs MythTV plugins along with patches from the release-${PV}-fixes branch 8# @BLURB: Installs MythTV plugins along with patches from the release-${PV}-fixes branch
85 -i 'settings.pro' || die "disabling MMX failed" 85 -i 'settings.pro' || die "disabling MMX failed"
86 fi 86 fi
87 87
88 local myconf="" 88 local myconf=""
89 89
90 if hasq ${PN} ${MYTHPLUGINS} ; then 90 if has ${PN} ${MYTHPLUGINS} ; then
91 for x in ${MYTHPLUGINS} ; do 91 for x in ${MYTHPLUGINS} ; do
92 if [[ ${PN} == ${x} ]] ; then 92 if [[ ${PN} == ${x} ]] ; then
93 myconf="${myconf} --enable-${x}" 93 myconf="${myconf} --enable-${x}"
94 else 94 else
95 myconf="${myconf} --disable-${x}" 95 myconf="${myconf} --disable-${x}"
111 fi 111 fi
112 emake || die "make failed to compile" 112 emake || die "make failed to compile"
113} 113}
114 114
115mythtv-plugins_src_install() { 115mythtv-plugins_src_install() {
116 if hasq ${PN} ${MYTHPLUGINS} ; then 116 if has ${PN} ${MYTHPLUGINS} ; then
117 cd "${S}"/${PN} 117 cd "${S}"/${PN}
118 else 118 else
119 die "Package ${PN} is unsupported" 119 die "Package ${PN} is unsupported"
120 fi 120 fi
121 121

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39

  ViewVC Help
Powered by ViewVC 1.1.20