/[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.32 Revision 1.33
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.32 2006/09/10 10:29:21 zzam Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/vdr-plugin.eclass,v 1.33 2006/09/19 19:31:33 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
185 -e '/@.*strip/d' \ 185 -e '/@.*strip/d' \
186 -e '/strip \$(LIBDIR)\/\$@/d' \ 186 -e '/strip \$(LIBDIR)\/\$@/d' \
187 -e '/^STRIP =/d' \ 187 -e '/^STRIP =/d' \
188 -e '/@.*\$(STRIP)/d' 188 -e '/@.*\$(STRIP)/d'
189 eend $? 189 eend $?
190 PLUGIN_MAKEFILE_PATCHED=1 190
191 # Use a file instead of an variable as single-stepping via ebuild
192 # destroys environment.
193 touch ${WORKDIR}/.vdr-plugin_makefile_patched
191 ;; 194 ;;
192 add_local_patch) 195 add_local_patch)
193 cd ${S} 196 cd ${S}
194 if test -d "${VDR_LOCAL_PATCHES_DIR}/${PN}"; then 197 if test -d "${VDR_LOCAL_PATCHES_DIR}/${PN}"; then
195 echo 198 echo
235 case "$1" in 238 case "$1" in
236 prepare) 239 prepare)
237 [[ -n "${VDRSOURCE_DIR}" ]] && vdr-plugin_copy_source_tree 240 [[ -n "${VDRSOURCE_DIR}" ]] && vdr-plugin_copy_source_tree
238 ;; 241 ;;
239 compile) 242 compile)
240 if [[ -z ${PLUGIN_MAKEFILE_PATCHED} ]]; then 243 if [[ ! -f ${WORKDIR}/.vdr-plugin_makefile_patched ]]; then
241 eerror "Wrong use of vdr-plugin.eclass." 244 eerror "Wrong use of vdr-plugin.eclass."
242 eerror "An ebuild for a vdr-plugin will not work without" 245 eerror "An ebuild for a vdr-plugin will not work without"
243 eerror "calling vdr-plugin_src_unpack to patch the Makefile." 246 eerror "calling vdr-plugin_src_unpack to patch the Makefile."
244 echo 247 echo
245 eerror "Please report this at bugs.gentoo.org." 248 eerror "Please report this at bugs.gentoo.org."

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33

  ViewVC Help
Powered by ViewVC 1.1.20