blob: 9596a83d0cbf651a5fd55bdc7e229ff4d3d37ffc (
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
|
# 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_Download/PEAR-HTTP_Download-1.1.3.ebuild,v 1.1 2007/11/08 16:45:44 jokey Exp $
inherit php-pear-r1 depend.php eutils
DESCRIPTION="Provides functionality to send HTTP downloads."
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="minimal"
RDEPEND="dev-php/PEAR-HTTP_Header
!minimal? ( dev-php/PEAR-MIME_Type )"
pkg_setup() {
require_php_with_use pcre
}
pkg_postinst() {
has_php
if ! use minimal && ! built_with_use --missing true =${PHP_PKG} postgres ; then
elog "${PN} can optionally use ${PHP_PKG} postgres features."
elog "If you want those, recompile ${PHP_PKG} with this flags in USE."
fi
}
|