dev-php/PEAR-HTTP_Header: new EAPI=6 revision sans the PEAR eclass.
authorMichael Orlitzky <mjo@gentoo.org>
Tue, 12 Jul 2016 17:38:06 +0000 (13:38 -0400)
committerMichael Orlitzky <mjo@gentoo.org>
Tue, 12 Jul 2016 17:38:28 +0000 (13:38 -0400)
We have a lot of trouble with our php-pear-* eclasses. Many of the
PEAR packages (including PEAR-HTTP_Header) can be installed in only a
few lines, in which case it seems smarter to skip the eclass
altogether. This new revision does so, and lets us jump to EAPI=6.

Gentoo-Bug: 576432

Package-Manager: portage-2.2.28

dev-php/PEAR-HTTP_Header/PEAR-HTTP_Header-1.2.1-r2.ebuild [new file with mode: 0644]

diff --git a/dev-php/PEAR-HTTP_Header/PEAR-HTTP_Header-1.2.1-r2.ebuild b/dev-php/PEAR-HTTP_Header/PEAR-HTTP_Header-1.2.1-r2.ebuild
new file mode 100644 (file)
index 0000000..283c245
--- /dev/null
@@ -0,0 +1,24 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+MY_P="${P/PEAR-/}"
+
+DESCRIPTION="Handle and modify HTTP headers and status codes in PHP"
+HOMEPAGE="http://pear.php.net/package/HTTP_Header"
+SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz"
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RDEPEND="dev-lang/php:*
+       dev-php/PEAR-HTTP"
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+       insinto /usr/share/php
+       doins -r HTTP
+}