summaryrefslogtreecommitdiff
blob: 5494296fff767662f1918b2b92140e086c182160 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright 1999-2017 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
}