/[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.27 Revision 1.28
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.27 2006/07/19 19:19:00 hd_brummy Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/vdr-plugin.eclass,v 1.28 2006/07/19 20:24:53 hd_brummy 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
124 einfo "Building ${PF} against vdr-${VDRVERSION}" 124 einfo "Building ${PF} against vdr-${VDRVERSION}"
125 einfo "APIVERSION: ${APIVERSION}" 125 einfo "APIVERSION: ${APIVERSION}"
126} 126}
127 127
128vdr-plugin_src_unpack() { 128vdr-plugin_src_unpack() {
129 [ -z "$1" ] && vdr-plugin_src_unpack unpack patchmakefile add_local_patch 129 [ -z "$1" ] && vdr-plugin_src_unpack unpack add_local_patch patchmakefile
130 130
131 while [ "$1" ]; do 131 while [ "$1" ]; do
132 132
133 case "$1" in 133 case "$1" in
134 unpack) 134 unpack)
181 -e '/^STRIP =/d' \ 181 -e '/^STRIP =/d' \
182 -e '/@.*\$(STRIP)/d' 182 -e '/@.*\$(STRIP)/d'
183 eend $? 183 eend $?
184 ;; 184 ;;
185 add_local_patch) 185 add_local_patch)
186 cd ${S}
186 if test -d "${VDR_LOCAL_PATCHES_DIR}/${PN}"; then 187 if test -d "${VDR_LOCAL_PATCHES_DIR}/${PN}"; then
187 echo 188 echo
188 einfo "Applying local patches" 189 einfo "Applying local patches"
189 for LOCALPATCH in ${VDR_LOCAL_PATCHES_DIR}/${PN}/${PV}/*.{diff,patch}; do 190 for LOCALPATCH in ${VDR_LOCAL_PATCHES_DIR}/${PN}/${PV}/*.{diff,patch}; do
190 test -f "${LOCALPATCH}" && epatch "${LOCALPATCH}" 191 test -f "${LOCALPATCH}" && epatch "${LOCALPATCH}"

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

  ViewVC Help
Powered by ViewVC 1.1.20