/[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.89 Revision 1.90
1# Copyright 1999-2012 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.89 2012/09/19 17:54:46 hd_brummy Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/vdr-plugin.eclass,v 1.90 2012/09/27 16:35:42 axs Exp $
4 4
5# @ECLASS: vdr-plugin.eclass 5# @ECLASS: vdr-plugin.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# vdr@gentoo.org 7# vdr@gentoo.org
8# @BLURB: common vdr plugin ebuild functions 8# @BLURB: common vdr plugin ebuild functions
43# 43#
44# For more details about it please take a look at the eutils.class. 44# For more details about it please take a look at the eutils.class.
45 45
46inherit base multilib eutils flag-o-matic 46inherit base multilib eutils flag-o-matic
47 47
48if ! has "${EAPI:-0}" 0 1 2 3 4; then 48if ! has "${EAPI:-0}" 0 1 2 3 4 5; then
49 die "API of vdr-plugin.eclass in EAPI=\"${EAPI}\" not established" 49 die "API of vdr-plugin.eclass in EAPI=\"${EAPI}\" not established"
50fi 50fi
51 51
52IUSE="" 52IUSE=""
53 53
448 eerror "Please report this at bugs.gentoo.org." 448 eerror "Please report this at bugs.gentoo.org."
449 die "vdr-plugin_pkg_setup not called!" 449 die "vdr-plugin_pkg_setup not called!"
450 fi 450 fi
451 if [ -z "$1" ]; then 451 if [ -z "$1" ]; then
452 case "${EAPI:-0}" in 452 case "${EAPI:-0}" in
453 2|3|4) 453 2|3|4|5)
454 vdr-plugin_src_util unpack 454 vdr-plugin_src_util unpack
455 ;; 455 ;;
456 *) 456 *)
457 vdr-plugin_src_util all 457 vdr-plugin_src_util all
458 ;; 458 ;;
590vdr-plugin_pkg_config() { 590vdr-plugin_pkg_config() {
591: 591:
592} 592}
593 593
594case "${EAPI:-0}" in 594case "${EAPI:-0}" in
595 2|3|4) 595 2|3|4|5)
596 EXPORT_FUNCTIONS pkg_setup src_unpack src_prepare src_compile src_install pkg_postinst pkg_postrm pkg_config 596 EXPORT_FUNCTIONS pkg_setup src_unpack src_prepare src_compile src_install pkg_postinst pkg_postrm pkg_config
597 ;; 597 ;;
598 *) 598 *)
599 EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install pkg_postinst pkg_postrm pkg_config 599 EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install pkg_postinst pkg_postrm pkg_config
600 ;; 600 ;;

Legend:
Removed from v.1.89  
changed lines
  Added in v.1.90

  ViewVC Help
Powered by ViewVC 1.1.20