| 1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2013 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/vdr-plugin.eclass,v 1.90 2012/09/27 16:35:42 axs Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.91 2013/02/18 09:43:18 hd_brummy 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 |
| … | |
… | |
| 439 | shift |
439 | shift |
| 440 | done |
440 | done |
| 441 | } |
441 | } |
| 442 | |
442 | |
| 443 | vdr-plugin_src_unpack() { |
443 | vdr-plugin_src_unpack() { |
|
|
444 | # mark vdr-plugin.eclass deprecated |
|
|
445 | eerror "\n\tvdr-plugin.eclass is deprecated" |
|
|
446 | eerror "\tMaintainer: please fix your ebuilds to use" |
|
|
447 | eerror "\tvdr-plugin-2.eclass \n" |
|
|
448 | |
| 444 | if [[ -z ${VDR_INCLUDE_DIR} ]]; then |
449 | if [[ -z ${VDR_INCLUDE_DIR} ]]; then |
| 445 | eerror "Wrong use of vdr-plugin.eclass." |
450 | eerror "Wrong use of vdr-plugin.eclass." |
| 446 | eerror "An ebuild for a vdr-plugin will not work without calling vdr-plugin_pkg_setup." |
451 | eerror "An ebuild for a vdr-plugin will not work without calling vdr-plugin_pkg_setup." |
| 447 | echo |
452 | echo |
| 448 | eerror "Please report this at bugs.gentoo.org." |
453 | eerror "Please report this at bugs.gentoo.org." |