Files
gentoo/dev-php/PEAR-HTTP_Header/PEAR-HTTP_Header-1.2.1-r2.ebuild
T
Michael Orlitzky 9a4b961281 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
2016-07-12 13:38:28 -04:00

25 lines
504 B
Bash

# 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
}