diff options
author | 2000-10-14 11:26:50 +0000 | |
---|---|---|
committer | 2000-10-14 11:26:50 +0000 | |
commit | 2c257c7a2b3444f98c0f8924094ba05979f5cc5b (patch) | |
tree | 6f4a064835ace630341a582364f777801468f25f /dev-lang | |
parent | *** empty log message *** (diff) | |
download | gentoo-2-2c257c7a2b3444f98c0f8924094ba05979f5cc5b.tar.gz gentoo-2-2c257c7a2b3444f98c0f8924094ba05979f5cc5b.tar.bz2 gentoo-2-2c257c7a2b3444f98c0f8924094ba05979f5cc5b.zip |
*** empty log message ***
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/php-4/files/digest-php-4.0.1-r1 | 2 | ||||
-rw-r--r-- | dev-lang/php-4/php-4.0.1-r1.ebuild | 61 |
2 files changed, 0 insertions, 63 deletions
diff --git a/dev-lang/php-4/files/digest-php-4.0.1-r1 b/dev-lang/php-4/files/digest-php-4.0.1-r1 deleted file mode 100644 index 0cce7444fccd..000000000000 --- a/dev-lang/php-4/files/digest-php-4.0.1-r1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 81430cbc47f327d410b3ee64eb66dcbc php-4.0.1.tar.gz -MD5 20c64ba8d79665e9bfab052fa5a85eab number4.tar.gz diff --git a/dev-lang/php-4/php-4.0.1-r1.ebuild b/dev-lang/php-4/php-4.0.1-r1.ebuild deleted file mode 100644 index 6e5bd075ebb7..000000000000 --- a/dev-lang/php-4/php-4.0.1-r1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2000 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/dev-lang/php-4/php-4.0.1-r1.ebuild,v 1.3 2000/09/15 20:08:47 drobbins Exp $ - -P=php-4.0.1 -A="php-4.0.1.tar.gz number4.tar.gz" -S=${WORKDIR}/${P} -DESCRIPTION="HTML embedded scripting language" -SRC_URI="http://www.php.net/distributions/php-4.0.1.tar.gz - http://www.php.net/extra/number4.tar.gz" -HOMEPAGE="http://www.php.net/" - -src_compile() { - -# FLAGS="-mpentium -march=pentium -O4 -I/usr/include/freetype" -# export CFLAGS=$FLAGS -# export CPPFLAGS=$FLAGS -# export CXXFLAGS=$FLAGS - export LD_FLAGS="$LD_FLAGS -ltiff -ljpeg -L/usr/X11R6/lib" - try ./configure --with-mysql=yes --enable-safe-mode \ - --enable-sysvsem --enable-sysvshm --with-zlib=yes --enable-bcmath \ - --with-readline --with-gettext --enable-calendar --with-ldap\ - --with-gd --with-ttf --with-jpeg-dir=/usr/lib \ - --with-config-file-path=`/usr/sbin/apxs -q SYSCONFDIR` \ - --with-apxs="/usr/sbin/apxs -ltiff" --with-exec-dir="/usr/lib/apache/bin" \ - --enable-versioning --enable-inline-optimization --enable-trans-sid - try make -} - -src_unpack() { - unpack php-4.0.1.tar.gz - cd ${S} - unpack number4.tar.gz -} - -src_install() { - cd ${S} - dodir /usr/lib/apache - cp .libs/libphp4.so ${D}/usr/lib/apache - dodir /etc/httpd - cp php.ini-dist ${D}/etc/httpd/php.ini - into /usr - dodoc CODING_STANDARDS FUNCTION_LIST.txt INSTALL LICENSE - dodoc MAINTAINERS MODULES_STATUS README.* TODO NEWS -} - -pkg_postinst() { - - . ${ROOT}/etc/rc.d/config/functions - - # Activate PHP-Extension in httpd.conf - einfo "Activate PHP in httpd.conf..." - cp ${ROOT}/etc/httpd/httpd.conf ${ROOT}/etc/httpd/httpd.conf.orig - sed -e "s/^#LoadModule php4_module/LoadModule php4_module/" \ - -e "s/^#AddModule mod_php4.c/AddModule mod_php4.c/" \ - -e "s/#AddType application\/x-httpd-php /AddType application\/x-httpd-php /" \ - -e "s/#AddType application\/x-httpd-php-/AddType application\/x-httpd-php-/" \ - ${ROOT}/etc/httpd/httpd.conf.orig > ${ROOT}/etc/httpd/httpd.conf - -} |