summaryrefslogtreecommitdiff
blob: fe8443fd84ba28626247c283c73b835b0a4c0455 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php5/php-qt/php-qt-0.0.3.ebuild,v 1.2 2006/09/29 13:40:42 sebastian Exp $

PHP_EXT_NAME="php_qt"
PHP_EXT_INI="yes"
PHP_EXT_ZENDEXT="no"

inherit php-ext-source-r1

KEYWORDS="~amd64 ~x86"
DESCRIPTION="PHP 5 bindings for the Qt4 framework."
HOMEPAGE="http://php-qt.berlios.de"
SRC_URI="http://download.berlios.de/php-qt/php_qt-${PV}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE=""

DEPEND="${DEPEND}
	=x11-libs/qt-4*"

S="${WORKDIR}/php_qt"

need_php_by_category

pkg_setup() {
	pkg="`best_version '=x11-libs/qt-4*'`"
	if ! built_with_use =${pkg} accessibility ; then
		die "You need to re-emerge x11-libs/qt with USE=accessibility."
	fi
}