summaryrefslogtreecommitdiff
blob: 31b2210fb08c05641b71fc044c4af3870a480f9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

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
}