/[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.58 Revision 1.59
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/Attic/vdr-plugin.eclass,v 1.58 2008/04/22 11:04:05 zzam Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/vdr-plugin.eclass,v 1.59 2008/04/23 13:56:20 zzam Exp $
4# 4#
5# Author: 5# Author:
6# Matthias Schwarzott <zzam@gentoo.org> 6# Matthias Schwarzott <zzam@gentoo.org>
7# Joerg Bornkessel <hd_brummy@gentoo.org> 7# Joerg Bornkessel <hd_brummy@gentoo.org>
8 8
168 -e "s:^VDRDIR.*$:VDRDIR = ${VDR_INCLUDE_DIR}:" \ 168 -e "s:^VDRDIR.*$:VDRDIR = ${VDR_INCLUDE_DIR}:" \
169 -e "s:^LIBDIR.*$:LIBDIR = ${S}:" \ 169 -e "s:^LIBDIR.*$:LIBDIR = ${S}:" \
170 -e "s:^TMPDIR.*$:TMPDIR = ${T}:" \ 170 -e "s:^TMPDIR.*$:TMPDIR = ${T}:" \
171 -e 's:-I$(VDRDIR)/include:-I'"${VDR_INCLUDE_DIR%vdr}"':' \ 171 -e 's:-I$(VDRDIR)/include:-I'"${VDR_INCLUDE_DIR%vdr}"':' \
172 -e "/^DVBDIR/d" \ 172 -e "/^DVBDIR/d" \
173 -e 's:-I$(DVBDIR)/include::' 173 -e 's:-I$(DVBDIR)/include::' \
174 -e 's:-I$(DVBDIR)::'
174 eend $? 175 eend $?
175 176
176 # maybe needed for multiproto: 177 # maybe needed for multiproto:
177 #sed -i Makefile \ 178 #sed -i Makefile \
178 # -e "s:^DVBDIR.*$:DVBDIR = ${DVB_INCLUDE_DIR}:" \ 179 # -e "s:^DVBDIR.*$:DVBDIR = ${DVB_INCLUDE_DIR}:" \
295vdr-plugin_copy_source_tree() { 296vdr-plugin_copy_source_tree() {
296 pushd . >/dev/null 297 pushd . >/dev/null
297 cp -r "${S}" "${T}"/source-tree 298 cp -r "${S}" "${T}"/source-tree
298 cd "${T}"/source-tree 299 cd "${T}"/source-tree
299 cp "${WORKDIR}"/Makefile.before Makefile 300 cp "${WORKDIR}"/Makefile.before Makefile
301 # TODO: Fix this, maybe no longer needed
300 sed -i Makefile \ 302 sed -i Makefile \
301 -e "s:^DVBDIR.*$:DVBDIR = ${DVB_INCLUDE_DIR}:" \ 303 -e "s:^DVBDIR.*$:DVBDIR = ${DVB_INCLUDE_DIR}:" \
302 -e 's:^CXXFLAGS:#CXXFLAGS:' \ 304 -e 's:^CXXFLAGS:#CXXFLAGS:' \
303 -e 's:-I$(DVBDIR)/include:-I$(DVBDIR):' \ 305 -e 's:-I$(DVBDIR)/include:-I$(DVBDIR):' \
304 -e 's:-I$(VDRDIR) -I$(DVBDIR):-I$(DVBDIR) -I$(VDRDIR):' 306 -e 's:-I$(VDRDIR) -I$(DVBDIR):-I$(DVBDIR) -I$(VDRDIR):'

Legend:
Removed from v.1.58  
changed lines
  Added in v.1.59

  ViewVC Help
Powered by ViewVC 1.1.20