summaryrefslogtreecommitdiff
blob: d0fcd55115a2b429125fed4a9fedbf76261e87c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/php5-sapi-r3.eclass,v 1.26 2007/09/02 17:49:20 jokey Exp $
#
# ########################################################################
#
# eclass/php5-sapi-r3.eclass
#               Eclass for building different php5 SAPI instances
#
#				USE THIS ECLASS FOR PHP 5.1.x
#				USE php5-sapi-r2 FOR PHP 5.0.x
#
#               Based on robbat2's work on the php4 sapi eclass
#
# Author(s)		Stuart Herbert
#				<stuart@gentoo.org>
#
# ========================================================================

# DEPRECATED!!! 
# STOP USING THIS ECLASS, use php5_2-sapi eclass instead!

inherit php5_2-sapi

deprecation_warning() {
        eerror "Please upgrade ${PF} to use php5_2-sapi eclass instead!"
}

php5-sapi-r3_check_awkward_uses() {
        deprecation_warning
        php5_2-sapi_check_use_flags
}

php5-sapi-r3_pkg_setup() {
        deprecation_warning
        php5_2-sapi_pkg_setup
}

php5-sapi-r3_src_unpack() {
        deprecation_warning
        php5_2-sapi_src_unpack
}

php5-sapi-r3_src_compile() {
        deprecation_warning
        php5_2-sapi_src_compile
}

php5-sapi-r3_src_install() {
        deprecation_warning
        php5_2-sapi_src_install
}

php5-sapi-r3_pkg_postinst() {
        deprecation_warning
        php5_2-sapi_pkg_postinst
}