blob: b31f5cf417e5864faa3fb5b044b327193652f3e2 (
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-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-HTTP/PEAR-HTTP-1.4.0-r1.ebuild,v 1.1 2007/12/24 12:38:33 armin76 Exp $
inherit php-pear-r1 depend.php eutils
DESCRIPTION="Miscellaneous HTTP utilities."
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
pkg_setup() {
require_php_with_use pcre
}
src_unpack() {
unpack ${A}
cd "${S}"
# fix nasty DOS linebreaks and http://pear.php.net/bugs/bug.php?id=12672
edos2unix HTTP.php
epatch "${FILESDIR}"/${P}-trailingslash-redirect-bug12672.patch
}
|