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

Diff of /eclass/vdr-plugin.eclass

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

Revision 1.6 Revision 1.7
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 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.eclass,v 1.6 2005/10/22 20:39:21 zzam Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.7 2005/10/28 08:58:19 zzam Exp $
4# 4#
5# Author: 5# Author:
6# Matthias Schwarzott <zzam@gentoo.org> 6# Matthias Schwarzott <zzam@gentoo.org>
7 7
8# vdr-plugin.eclass 8# vdr-plugin.eclass
153 153
154 dosym ${VDRPLUGIN}-${PV} ${destdir} 154 dosym ${VDRPLUGIN}-${PV} ${destdir}
155} 155}
156 156
157vdr-plugin_src_compile() { 157vdr-plugin_src_compile() {
158 [ -z "$1" ] && vdr-plugin_src_compile prepare compile
159
160 while [ "$1" ]; do
161
162 case "$1" in
163 prepare)
158 [[ -n "${VDRSOURCE_DIR}" ]] && vdr-plugin_copy_source_tree 164 [[ -n "${VDRSOURCE_DIR}" ]] && vdr-plugin_copy_source_tree
159 165 ;;
166 compile)
160 cd ${S} 167 cd ${S}
161 168
162 emake ${VDRPLUGIN_MAKE_TARGET:-all} || die "emake failed" 169 emake ${VDRPLUGIN_MAKE_TARGET:-all} || die "emake failed"
170 ;;
171 esac
172
173 shift
174 done
163} 175}
164 176
165vdr-plugin_src_install() { 177vdr-plugin_src_install() {
166 [[ -n "${VDRSOURCE_DIR}" ]] && vdr-plugin_install_source_tree 178 [[ -n "${VDRSOURCE_DIR}" ]] && vdr-plugin_install_source_tree
167 cd ${S} 179 cd ${S}

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20