| 1 | package Enbld::Definition::Tree; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | use parent qw/Enbld::Definition/; | ||
| 7 | |||
| 8 | sub initialize { | ||
| 9 | my $self = shift; | ||
| 10 | |||
| 11 | $self->SUPER::initialize; | ||
| 12 | |||
| 13 | $self->{defined}{ArchiveName} = 'tree'; | ||
| 14 | $self->{defined}{WebSite} = | ||
| 15 | 'http://mama.indstate.edu/users/ice/tree/'; | ||
| 16 | $self->{defined}{DarwinArgument} = \&set_args; | ||
| 17 | $self->{defined}{VersionForm} = '1\.\d\.\d'; | ||
| 18 | $self->{defined}{Extension} = 'tgz'; | ||
| 19 | $self->{defined}{DownloadSite} = | ||
| 20 | 'http://mama.indstate.edu/users/ice/tree/src/'; | ||
| 21 | |||
| 22 | $self->{defined}{Prefix} = 'prefix='; | ||
| 23 | |||
| 24 | $self->{defined}{CommandConfigure} = ''; | ||
| 25 | $self->{defined}{CommandTest} = ''; | ||
| 26 | |||
| 27 | return $self; | ||
| 28 | } | ||
| 29 | |||
| 30 | sub set_args { | ||
| 31 | |||
| 32 | my $args = 'CFLAGS="-O2 -Wall -fomit-frame-pointer -no-cpp-precomp"' . | ||
| 33 | ' '. 'LDFLAGS=' . ' ' . | ||
| 34 | 'OBJS="tree.o unix.o html.o xml.o hash.o color.o strverscmp.o"'; | ||
| 35 | |||
| 36 | return $args; | ||
| 37 | } | ||
| 38 | |||
| 39 | 1; | ||
| 40 | |||
| 41 | =pod | ||
| 42 | |||
| 43 | =head1 NAME | ||
| 44 | |||
| 45 | Enbld::Definition::Tree - definition module for Tree | ||
| 46 | |||
| 47 | =head1 SEE ALSO | ||
| 48 | |||
| 49 | L<Tree|http://mama.indstate.edu/users/ice/tree/> | ||
| 50 | |||
| 51 | L<Enbld::Definition> | ||
| 52 | |||
| 53 | =head1 COPYRIGHT | ||
| 54 | |||
| 55 | copyright 2013- Magnolia C<< <magnolia.k@me.com> >>. | ||
| 56 | |||
| 57 | =head1 LICENSE | ||
| 58 | |||
| 59 | This is free software; you can redistribute it and/or modify it under | ||
| 60 | the same terms as the Perl 5 programming language system itself. | ||
| 61 | |||
| 62 | =cut |