sub
initialize {
my
$self
=
shift
;
$self
->SUPER::initialize;
$self
->{
defined
}{ArchiveName} =
'httpd'
;
$self
->{
defined
}{VersionForm} =
'2\.\d\.\d{1,2}'
;
$self
->{
defined
}{Extension} =
'tar.gz'
;
$self
->{
defined
}{Dependencies} =
sub
{
return
[
'pcre'
,
'apr'
,
'aprutil'
] };
$self
->{
defined
}{AdditionalArgument}= \
&set_argument
;
$self
->{
defined
}{CommandTest} =
''
;
return
$self
;
}
sub
set_argument {
my
$attributes
=
shift
;
my
$to_install
= Enbld::Home->library;
my
$argument
=
"--with-pcre=$to_install --with-apr=$to_install --with-apr-util=$to_install"
;
return
$argument
;
}
1;