summaryrefslogtreecommitdiff
blob: b760d1d0ada9bd4307d596fae565d5e07cdc418f (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
25
26
27
28
29
30
31
32
33
34
35
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-mailparse/pecl-mailparse-2.1.1.ebuild,v 1.2 2005/10/15 22:35:35 weeve Exp $

PHP_EXT_ZENDEXT="no"
PHP_EXT_INI="yes"

inherit php-ext-pecl-r1

IUSE=""
DESCRIPTION="A PHP extension for parsing and working with RFC822 and RFC2045 (MIME) compliant messages."
SLOT="0"
LICENSE="PHP"
KEYWORDS="~ppc ~sparc ~x86"

need_php_by_category

pkg_setup() {
	has_php
	require_php_with_use nls
}

src_unpack() {
	unpack ${A}

	cd ${S}

	# Patch against segfaults
	epatch ${FILESDIR}/cvs-mailparse.c-fix.diff
}

src_install() {
	php-ext-pecl-r1_src_install
	dodoc README
}