diff options
author | Sebastian Bergmann <sebastian@gentoo.org> | 2005-03-02 12:53:13 +0000 |
---|---|---|
committer | Sebastian Bergmann <sebastian@gentoo.org> | 2005-03-02 12:53:13 +0000 |
commit | 639de1fc5df7a1e2cc3ee0e9a67a8da2273365b1 (patch) | |
tree | 480b4fb90a78204faace1b975be96a4fe0c3e1b7 | |
parent | Version bumped. (diff) | |
download | historical-639de1fc5df7a1e2cc3ee0e9a67a8da2273365b1.tar.gz historical-639de1fc5df7a1e2cc3ee0e9a67a8da2273365b1.tar.bz2 historical-639de1fc5df7a1e2cc3ee0e9a67a8da2273365b1.zip |
No longer require an existing PEAR environment.
Package-Manager: portage-2.0.51.18
-rw-r--r-- | dev-php/PEAR-PEAR/ChangeLog | 8 | ||||
-rw-r--r-- | dev-php/PEAR-PEAR/Manifest | 14 | ||||
-rw-r--r-- | dev-php/PEAR-PEAR/PEAR-PEAR-1.3.5-r1.ebuild | 75 | ||||
-rw-r--r-- | dev-php/PEAR-PEAR/files/digest-PEAR-PEAR-1.3.5-r1 | 4 |
4 files changed, 99 insertions, 2 deletions
diff --git a/dev-php/PEAR-PEAR/ChangeLog b/dev-php/PEAR-PEAR/ChangeLog index b021babc72fc..34847a68551f 100644 --- a/dev-php/PEAR-PEAR/ChangeLog +++ b/dev-php/PEAR-PEAR/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-php/PEAR-PEAR # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-PEAR/ChangeLog,v 1.8 2005/02/27 03:38:53 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-PEAR/ChangeLog,v 1.9 2005/03/02 12:53:13 sebastian Exp $ + +*PEAR-PEAR-1.3.5-r1 (02 Mar 2005) + + 02 Mar 2005; Sebastian Bergmann <sebastian@gentoo.org> + +PEAR-PEAR-1.3.5-r1.ebuild: + No longer require an existing PEAR environment. 26 Feb 2005; Jason Wever <weeve@gentoo.org> PEAR-PEAR-1.3.5.ebuild: Added ~sparc keyword wrt bug #82545. diff --git a/dev-php/PEAR-PEAR/Manifest b/dev-php/PEAR-PEAR/Manifest index ec57d41249a7..05be85a4c505 100644 --- a/dev-php/PEAR-PEAR/Manifest +++ b/dev-php/PEAR-PEAR/Manifest @@ -1,4 +1,16 @@ -MD5 c7cce8c25b11d2da1f8db94169110ea9 ChangeLog 1184 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 56a72dff4ec920a48eebdfef78874039 PEAR-PEAR-1.3.5-r1.ebuild 2368 MD5 1e34f518af0122733a735d95c16d66ce PEAR-PEAR-1.3.5.ebuild 454 +MD5 54eac0d9330a385b245450511f660728 ChangeLog 1361 MD5 34b376f52ca199fffb4e52b83169574a metadata.xml 156 MD5 3554c88b634f100ef42729557e042fea files/digest-PEAR-PEAR-1.3.5 59 +MD5 e0b48c5489afe90eeb4199994b6b9587 files/digest-PEAR-PEAR-1.3.5-r1 248 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.0 (GNU/Linux) + +iD8DBQFCJbe0aGfFFLhbXWkRAgm+AKCJNQktIg1BNKyiNUuqr/ugtrRM8QCfZLw6 +Ve7zF+zNFEwJ+moeNY6wk9s= +=9lSI +-----END PGP SIGNATURE----- diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.3.5-r1.ebuild b/dev-php/PEAR-PEAR/PEAR-PEAR-1.3.5-r1.ebuild new file mode 100644 index 000000000000..d858e5571dcd --- /dev/null +++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.3.5-r1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-PEAR/PEAR-PEAR-1.3.5-r1.ebuild,v 1.1 2005/03/02 12:53:13 sebastian Exp $ + +ARCHIVE_TAR="1.2" +CONSOLE_GETOPT="1.2" +PEAR="1.3.5" +XML_RPC="1.2.0" + +DESCRIPTION="PEAR Base System." +HOMEPAGE="http://pear.php.net/" +SRC_URI="http://pear.php.net/get/Archive_Tar-${ARCHIVE_TAR}.tgz + http://pear.php.net/get/Console_Getopt-${CONSOLE_GETOPT}.tgz + http://pear.php.net/get/XML_RPC-${XML_RPC}.tgz + http://pear.php.net/get/PEAR-${PEAR}.tgz" + +LICENSE="PHP" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND="virtual/php dev-php/php" +PDEPEND=">=dev-php/PEAR-Archive_Tar-1.1 + >=dev-php/PEAR-Console_Getopt-1.2 + >=dev-php/PEAR-XML_RPC-1.0.4" + +src_install() { + if [ ! -x "/usr/bin/pear" ]; then + einfo "No previous PEAR installation found." + bootstrap_pear + install_pear_after_bootstrap + else + einfo "Previous PEAR installation found." + install_pear_without_bootstrap + fi +} + +bootstrap_pear() { + mkdir -p ${WORKDIR}/PEAR/XML/RPC + + cp -r ${WORKDIR}/PEAR-${PEAR}/OS ${WORKDIR}/PEAR/ + cp -r ${WORKDIR}/PEAR-${PEAR}/PEAR ${WORKDIR}/PEAR/ + cp ${WORKDIR}/PEAR-${PEAR}/PEAR.php ${WORKDIR}/PEAR/PEAR.php + cp ${WORKDIR}/PEAR-${PEAR}/System.php ${WORKDIR}/PEAR/System.php + cp ${WORKDIR}/PEAR-${PEAR}/scripts/pearcmd.php ${WORKDIR}/PEAR/pearcmd.php + cp ${WORKDIR}/PEAR-${PEAR}/scripts/pear.sh ${WORKDIR}/PEAR/pear + sed -i 's:@php_bin@:/usr/bin/php:g' ${WORKDIR}/PEAR/pear || die + sed -i 's:@php_dir@:/usr/lib/php:g' ${WORKDIR}/PEAR/pear || die + + cp -r ${WORKDIR}/Archive_Tar-${ARCHIVE_TAR}/Archive ${WORKDIR}/PEAR/Archive + + cp -r ${WORKDIR}/Console_Getopt-${CONSOLE_GETOPT}/Console ${WORKDIR}/PEAR/ + + cp ${WORKDIR}/XML_RPC-${XML_RPC}/RPC.php ${WORKDIR}/PEAR/XML/RPC.php + cp ${WORKDIR}/XML_RPC-${XML_RPC}/Server.php ${WORKDIR}/PEAR/XML/RPC/Server.php + + cd ${WORKDIR}/PEAR + insinto /usr/lib/php + doins -r Archive Console OS PEAR XML *.php + dobin pear +} + +install_pear_after_bootstrap() { + prepare_pear_install + /usr/bin/php -d include_path=".:${D}/usr/lib/php" ${D}/usr/lib/php/pearcmd.php install --nodeps -R ${D} package.xml || die +} + +install_pear_without_bootstrap() { + prepare_pear_install + pear install --nodeps -R ${D} package.xml || die +} + +prepare_pear_install() { + cp ${WORKDIR}/package.xml ${WORKDIR}/PEAR-${PEAR} + cd ${WORKDIR}/PEAR-${PEAR} +} diff --git a/dev-php/PEAR-PEAR/files/digest-PEAR-PEAR-1.3.5-r1 b/dev-php/PEAR-PEAR/files/digest-PEAR-PEAR-1.3.5-r1 new file mode 100644 index 000000000000..9fb16bad84ff --- /dev/null +++ b/dev-php/PEAR-PEAR/files/digest-PEAR-PEAR-1.3.5-r1 @@ -0,0 +1,4 @@ +MD5 e2f6fda1baa507f319b46f5a09b57351 Archive_Tar-1.2.tgz 14792 +MD5 8f9ec8253c04350bc01ee7ca941e24b6 Console_Getopt-1.2.tgz 3370 +MD5 c10a00097ce739e737035894d83b4e7e XML_RPC-1.2.0.tgz 21731 +MD5 8fead7fddb93f9b3cecd740823daafd2 PEAR-1.3.5.tgz 108423 |