mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 18:47:16 -08:00
dev-php/PEAR-HTTP_Header: new EAPI=6 revision sans the PEAR eclass.
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
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user