diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2003-09-01 19:16:16 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2003-09-01 19:16:16 +0000 |
commit | 6b4b29481f91b27a192e87b50586d26343daddad (patch) | |
tree | 33f88c47af67d628d3bb8097dfdafe97f99657a0 /dev-php | |
parent | fix typo bug with ncurses (bug submitted via email) (diff) | |
download | historical-6b4b29481f91b27a192e87b50586d26343daddad.tar.gz historical-6b4b29481f91b27a192e87b50586d26343daddad.tar.bz2 historical-6b4b29481f91b27a192e87b50586d26343daddad.zip |
fix typo bug with ncurses (bug submitted via email)
Diffstat (limited to 'dev-php')
-rw-r--r-- | dev-php/php/Manifest | 4 | ||||
-rw-r--r-- | dev-php/php/files/digest-php-4.3.3-r1 | 2 | ||||
-rw-r--r-- | dev-php/php/php-4.3.3-r1.ebuild | 50 |
3 files changed, 54 insertions, 2 deletions
diff --git a/dev-php/php/Manifest b/dev-php/php/Manifest index 457ca81b2a63..1fd815f3dc55 100644 --- a/dev-php/php/Manifest +++ b/dev-php/php/Manifest @@ -2,9 +2,9 @@ MD5 ee33a1ed80e96289413e08030da1ac1b php-5.0_beta1-r1.ebuild 1259 MD5 4050f7ed6eb4c2864abf0eb05b5140a8 php-4.3.2-r3.ebuild 1141 MD5 b5971dfa118d3b7b3a86044960ecc3f5 php-4.3.2.ebuild 2422 MD5 69261b04b41d4699eb0c55b4b4a10f8e php-4.3.2-r2.ebuild 1184 -MD5 971f51de210b7f0efb6fab2238348fc7 php-4.3.3-r1.ebuild 1211 +MD5 62feb2b53aef6243a7ccc0aa8f2562fc php-4.3.3-r1.ebuild 1214 MD5 6118cb273654c1847c504406f57131da php-5.0_beta1.ebuild 1178 -MD5 1741a4fc36f89b70f64729513bb430de ChangeLog 9148 +MD5 b32ff883be93a87dbea8011c8b5f791b ChangeLog 9147 MD5 38fe937e954ab7109395cefa86fcd2d4 metadata.xml 384 MD5 434ff51e4e7de5c6ce8bf855717de268 php-4.3.2-r1.ebuild 991 MD5 c6f16001024e01ebb2145f4495537c26 php-4.3.3.ebuild 1213 diff --git a/dev-php/php/files/digest-php-4.3.3-r1 b/dev-php/php/files/digest-php-4.3.3-r1 new file mode 100644 index 000000000000..1fecdf01d76d --- /dev/null +++ b/dev-php/php/files/digest-php-4.3.3-r1 @@ -0,0 +1,2 @@ +MD5 1171d96104e2ff2cff9e19789a4a1536 php-4.3.3.tar.bz2 3711877 +MD5 912ff94309b762563d0542db5187315f php-4.3.2-fopen-url-secure.patch 416 diff --git a/dev-php/php/php-4.3.3-r1.ebuild b/dev-php/php/php-4.3.3-r1.ebuild new file mode 100644 index 000000000000..765faf2f480c --- /dev/null +++ b/dev-php/php/php-4.3.3-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php/php/php-4.3.3-r1.ebuild,v 1.1 2003/09/01 19:16:13 robbat2 Exp $ + +PHPSAPI="cli" +inherit php eutils + +IUSE="${IUSE} readline" + +DESCRIPTION="PHP Shell Interpreter" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~arm ~hppa ~mips" + +DEPEND_EXTRA="readline? ( >=sys-libs/ncurses-5.1 >=sys-libs/readline-4.1 ) + ncurses? ( >=sys-libs/ncurses-5.1 )" +DEPEND="${DEPEND} ${DEPEND_EXTRA}" +RDEPEND="${RDEPEND} ${DEPEND_EXTRA}" + +src_compile() { + # Readline and Ncurses are CLI PHP only + # readline implies ncurses + use ncurses || use readline && use_ncurses="--with" || use_ncurses="--without" + myconf="${myconf} `use_with readline`" + myconf="${myconf} ${use_ncurses}-ncurses" + + myconf="${myconf} \ + --disable-cgi \ + --enable-cli" + + php_src_compile +} + + +src_install() { + installtargets="${installtargets} install-cli" + php_src_install + + # php executable is located in ./sapi/cli/ + exeinto /usr/bin + doexe sapi/cli/php +} + +pkg_postinst() { + php_pkg_postinst + einfo "This is a CLI only build." + einfo "You can not use it on a webserver." +} +pkg_preinst() { + php_pkg_preinst +} |