diff options
Diffstat (limited to 'dev-php/php-gtk/php-gtk-1.0.1.ebuild')
-rw-r--r-- | dev-php/php-gtk/php-gtk-1.0.1.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/dev-php/php-gtk/php-gtk-1.0.1.ebuild b/dev-php/php-gtk/php-gtk-1.0.1.ebuild new file mode 100644 index 000000000000..d87fae288cab --- /dev/null +++ b/dev-php/php-gtk/php-gtk-1.0.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php/php-gtk/php-gtk-1.0.1.ebuild,v 1.1 2005/05/06 08:39:41 sebastian Exp $ + +PHP_EXT_NAME="php_gtk" +PHP_EXT_ZENDEXT="no" +PHPSAPILIST="cli" # we do NOT want it in place for apache[12],cgi +inherit php-ext-source + +DESCRIPTION="GTK+ bindings for PHP" +HOMEPAGE="http://gtk.php.net/" +SRC_URI="http://gtk.php.net/distributions/${P}.tar.gz" +IUSE="" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64 ~ppc" + +DEPEND="$DEPEND" +RDEPEND="=x11-libs/gtk+-1.2* + =gnome-base/libglade-0.17* + =dev-php/php-4*" + +# Fails to compile with higher MAKEOPTS +MAKEOPTS="-j1" + +src_compile() { + ./buildconf + + # + # pixbuf / canvas is missing + # + myconf="--enable-php-gtk=shared --enable-glade" + + php-ext-source_src_compile +} + +src_install() { + php-ext-source_src_install + + dodoc ChangeLog NEWS AUTHORS README TODO + + # examples + docinto test/ + dodoc test/* +} + +pkg_postinst () { + einfo 'Check document test directory in documentation for some nice examples.' +} |