blob: 8d0a986b22ee41dfb6d3a1b2bacad120e1a23223 (
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
|
# Copyright 1999-2007 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.3 2007/03/18 02:09:47 chtekk Exp $
PHP_EXT_NAME="php_qt"
PHP_EXT_INI="yes"
PHP_EXT_ZENDEXT="no"
inherit php-ext-source-r1
KEYWORDS="~amd64 ~x86"
DESCRIPTION="PHP5 bindings for the Qt4 framework."
HOMEPAGE="http://www.php-qt.org/"
SRC_URI="http://download.berlios.de/php-qt/php_qt-${PV}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE=""
DEPEND="=x11-libs/qt-4*"
RDEPEND="${DEPEND}"
S="${WORKDIR}/php_qt"
need_php_by_category
pkg_setup() {
pkg="`best_version '=x11-libs/qt-4*'`"
if ! built_with_use =${pkg} accessibility ; then
eerror "You need to emerge x11-libs/qt-4 with the 'accessibility' USE flag enabled."
die "Emerge x11-libs/qt-4 with the 'accessibility' USE flag enabled."
fi
}
|