Lines 2-8
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/www-servers/monkeyd/monkeyd-0.9.1.ebuild,v 1.4 2005/08/11 01:51:11 ka0ttic Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/www-servers/monkeyd/monkeyd-0.9.1.ebuild,v 1.4 2005/08/11 01:51:11 ka0ttic Exp $ |
4 |
|
4 |
|
5 |
inherit toolchain-funcs |
5 |
inherit toolchain-funcs depend.php |
6 |
|
6 |
|
7 |
WEBROOT=/var/www/localhost |
7 |
WEBROOT=/var/www/localhost |
8 |
|
8 |
|
Lines 19-28
Link Here
|
19 |
DEPEND="virtual/libc |
19 |
DEPEND="virtual/libc |
20 |
>=sys-apps/portage-2.0.51" |
20 |
>=sys-apps/portage-2.0.51" |
21 |
RDEPEND="virtual/libc |
21 |
RDEPEND="virtual/libc |
22 |
php? ( dev-php/php-cgi )" |
22 |
php? ( virtual/httpd-php )" |
23 |
|
23 |
|
24 |
S="${WORKDIR}/${MY_P}" |
24 |
S="${WORKDIR}/${MY_P}" |
25 |
|
25 |
|
|
|
26 |
pkg_setup() { |
27 |
use php && require_php_cgi |
28 |
} |
29 |
|
26 |
src_unpack() { |
30 |
src_unpack() { |
27 |
unpack ${A} |
31 |
unpack ${A} |
28 |
cd ${S} |
32 |
cd ${S} |