summaryrefslogtreecommitdiff
blob: 9e87322c81a2756c0a538504b0ccf01eeb14ce7b (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php5/onphp-module/onphp-module-0.6.1.ebuild,v 1.1 2006/08/10 17:16:37 voxus Exp $

PHP_EXT_NAME="onphp"
PHP_EXT_INI="yes"
PHP_EXT_ZENDEXT="no"

inherit php-ext-pecl-r1

SRC_URI="http://onphp.org/download/onphp-${PV}.tar.bz2"

KEYWORDS="~amd64 ~x86"
DESCRIPTION="onPHP's module."
HOMEPAGE="http://onphp.org/"
LICENSE="GPL-2"
SLOT="0"
IUSE=""

# since need_php51 is missing
DEPEND=">=dev-lang/php-5.1.4"
RDEPEND="${DEPEND}
		~dev-php5/onphp-${PV}"

PHP_VERSION="5"
PHP_SHARED_CAT="php5"

S="${WORKDIR}/onphp-${PV}/ext"

pkg_setup() {
	has_php

	require_php_with_use spl reflection
}

pkg_postinst() {
	einfo
	ewarn "If you're using eAccelerator, you should upgrade to"
	ewarn "        >=dev-php5/eaccelerator-0.9.5_rc1"
	einfo
}