/[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.77 Revision 1.78
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2012 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.77 2011/12/31 01:01:56 hd_brummy Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/vdr-plugin.eclass,v 1.78 2012/01/15 17:11:08 idl0r 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
66# all patches which ending on diff or patch in this DIR will automatically applied 66# all patches which ending on diff or patch in this DIR will automatically applied
67# 67#
68 68
69inherit base multilib eutils flag-o-matic 69inherit base multilib eutils flag-o-matic
70 70
71if ! has "${EAPI:-0}" 0 1 2 3; then 71if ! has "${EAPI:-0}" 0 1 2 3 4; then
72 die "API of vdr-plugin.eclass in EAPI=\"${EAPI}\" not established" 72 die "API of vdr-plugin.eclass in EAPI=\"${EAPI}\" not established"
73fi 73fi
74 74
75IUSE="" 75IUSE=""
76 76
477 eerror "Please report this at bugs.gentoo.org." 477 eerror "Please report this at bugs.gentoo.org."
478 die "vdr-plugin_pkg_setup not called!" 478 die "vdr-plugin_pkg_setup not called!"
479 fi 479 fi
480 if [ -z "$1" ]; then 480 if [ -z "$1" ]; then
481 case "${EAPI:-0}" in 481 case "${EAPI:-0}" in
482 2|3) 482 2|3|4)
483 vdr-plugin_src_util unpack 483 vdr-plugin_src_util unpack
484 ;; 484 ;;
485 *) 485 *)
486 vdr-plugin_src_util all 486 vdr-plugin_src_util all
487 ;; 487 ;;
620 ewarn "emerge --config ${PN} is no longer supported" 620 ewarn "emerge --config ${PN} is no longer supported"
621 vdr-plugin_print_enable_command 621 vdr-plugin_print_enable_command
622} 622}
623 623
624case "${EAPI:-0}" in 624case "${EAPI:-0}" in
625 2|3) 625 2|3|4)
626 EXPORT_FUNCTIONS pkg_setup src_unpack src_prepare src_compile src_install pkg_postinst pkg_postrm pkg_config 626 EXPORT_FUNCTIONS pkg_setup src_unpack src_prepare src_compile src_install pkg_postinst pkg_postrm pkg_config
627 ;; 627 ;;
628 *) 628 *)
629 EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install pkg_postinst pkg_postrm pkg_config 629 EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install pkg_postinst pkg_postrm pkg_config
630 ;; 630 ;;

Legend:
Removed from v.1.77  
changed lines
  Added in v.1.78

  ViewVC Help
Powered by ViewVC 1.1.20