/[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.66 Revision 1.68
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.66 2009/02/23 23:46:31 zzam Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/vdr-plugin.eclass,v 1.68 2009/03/06 09:09:29 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
393 393
394 case "$1" in 394 case "$1" in
395 all) 395 all)
396 vdr-plugin_src_util unpack add_local_patch patchmakefile i18n 396 vdr-plugin_src_util unpack add_local_patch patchmakefile i18n
397 ;; 397 ;;
398 all_but_unpack) 398 prepare|all_but_unpack)
399 vdr-plugin_src_util add_local_patch patchmakefile i18n 399 vdr-plugin_src_util add_local_patch patchmakefile i18n
400 ;; 400 ;;
401 unpack) 401 unpack)
402 base_src_unpack 402 base_src_unpack
403 ;; 403 ;;
441 vdr-plugin_src_util $@ 441 vdr-plugin_src_util $@
442 fi 442 fi
443} 443}
444 444
445vdr-plugin_src_prepare() { 445vdr-plugin_src_prepare() {
446 vdr-plugin_src_util all_but_unpack 446 base_src_prepare
447 vdr-plugin_src_util prepare
447} 448}
448 449
449vdr-plugin_src_compile() { 450vdr-plugin_src_compile() {
450 [ -z "$1" ] && vdr-plugin_src_compile prepare compile 451 [ -z "$1" ] && vdr-plugin_src_compile copy_source compile
451 452
452 while [ "$1" ]; do 453 while [ "$1" ]; do
453 454
454 case "$1" in 455 case "$1" in
455 prepare) 456 copy_source)
456 [[ -n "${VDRSOURCE_DIR}" ]] && vdr-plugin_copy_source_tree 457 [[ -n "${VDRSOURCE_DIR}" ]] && vdr-plugin_copy_source_tree
457 ;; 458 ;;
458 compile) 459 compile)
459 if [[ ! -f ${WORKDIR}/.vdr-plugin_makefile_patched ]]; then 460 if [[ ! -f ${WORKDIR}/.vdr-plugin_makefile_patched ]]; then
460 eerror "Wrong use of vdr-plugin.eclass." 461 eerror "Wrong use of vdr-plugin.eclass."

Legend:
Removed from v.1.66  
changed lines
  Added in v.1.68

  ViewVC Help
Powered by ViewVC 1.1.20