summaryrefslogtreecommitdiff
blob: 7bd8462197de8e96df085c8774fcc4e0daa3c230 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext.eclass,v 1.13 2008/01/06 19:30:24 swegener Exp $
#
# Author: Tal Peer <coredumb@gentoo.org>
#
# The php-ext eclass provides a unified interface for compiling and
# installing standalone PHP extensions ('modules').

# DEPRECATED!!!
# STOP USING THIS ECLASS, use php-ext-source-r1.eclass instead!

inherit php-ext-source-r1 php-ext-base-r1

deprecation_warning() {
	eerror "Please upgrade ${PF} to use php-ext-source-r1.eclass!"
}

php-ext_buildinilist () {
	deprecation_warning
	php-ext-base-r1_buildinilist
}

php-ext_src_compile() {
	deprecation_warning
	php-ext-source-r1_src_compile
}

php-ext_src_install() {
	deprecation_warning
	php-ext-source-r1_src_install
}

php-ext_pkg_postinst() {
	deprecation_warning
}

php-ext_addextensiontoinifile () {
	deprecation_warning
	php-ext-base-r1_addtoinifiles
}

php-ext_addextension () {
	deprecation_warning
	php-ext-base-r1_addextension
}

php-ext_addtoinifile () {
	deprecation_warning
	php-ext-base-r1_addtoinifile
}

php-ext_addtoinifiles () {
	deprecation_warning
	php-ext-base-r1_addtoinifiles
}