Lines 1-4
Link Here
|
1 |
# Copyright 1999-2014 Gentoo Foundation |
1 |
# Copyright 1999-2015 Gentoo Foundation |
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 |
# $Id$ |
3 |
# $Id$ |
4 |
|
4 |
|
Lines 19-25
EAPI=5
Link Here
|
19 |
|
19 |
|
20 |
PERL_EXPORT_PHASE_FUNCTIONS=no |
20 |
PERL_EXPORT_PHASE_FUNCTIONS=no |
21 |
|
21 |
|
22 |
inherit perl-module readme.gentoo eutils base cmake-utils depend.php depend.apache multilib flag-o-matic |
22 |
inherit perl-module readme.gentoo eutils base cmake-utils depend.apache multilib flag-o-matic |
23 |
|
23 |
|
24 |
MY_PN="ZoneMinder" |
24 |
MY_PN="ZoneMinder" |
25 |
|
25 |
|
Lines 45-50
DEPEND="
Link Here
|
45 |
dev-perl/libwww-perl |
45 |
dev-perl/libwww-perl |
46 |
sys-libs/zlib |
46 |
sys-libs/zlib |
47 |
virtual/ffmpeg |
47 |
virtual/ffmpeg |
|
|
48 |
virtual/httpd-php |
48 |
virtual/jpeg |
49 |
virtual/jpeg |
49 |
virtual/mysql |
50 |
virtual/mysql |
50 |
virtual/perl-ExtUtils-MakeMaker |
51 |
virtual/perl-ExtUtils-MakeMaker |
Lines 63-69
RDEPEND="${DEPEND}"
Link Here
|
63 |
# we cannot use need_httpd_cgi here, since we need to setup permissions for the |
64 |
# we cannot use need_httpd_cgi here, since we need to setup permissions for the |
64 |
# webserver in global scope (/etc/zm.conf etc), so we hardcode apache here. |
65 |
# webserver in global scope (/etc/zm.conf etc), so we hardcode apache here. |
65 |
need_apache |
66 |
need_apache |
66 |
need_php_httpd |
|
|
67 |
|
67 |
|
68 |
S=${WORKDIR}/${MY_PN}-${PV} |
68 |
S=${WORKDIR}/${MY_PN}-${PV} |
69 |
|
69 |
|
Lines 74-80
PATCHES=(
Link Here
|
74 |
MY_ZM_WEBDIR=/usr/share/zoneminder/www |
74 |
MY_ZM_WEBDIR=/usr/share/zoneminder/www |
75 |
|
75 |
|
76 |
pkg_setup() { |
76 |
pkg_setup() { |
77 |
require_php_with_use mysql sockets apache2 |
77 |
: |
78 |
} |
78 |
} |
79 |
|
79 |
|
80 |
src_configure() { |
80 |
src_configure() { |