blob: 9583405ff7ad7c4e05bca50231e9836b26308203 (
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-2008 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.6 2008/02/10 14:38:57 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
}
|