-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Build.PL
61 lines (54 loc) · 2.25 KB
/
Build.PL
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#!/usr/bin/perl
# SlackPack
# Copyright (C) 2006-2023 Georgi D. Sotirov, [email protected]
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
# DESCRIPTION:
# Module build script using Module::Build for testing
use strict;
use warnings;
use FindBin qw($RealBin);
use lib ($RealBin);
use Module::Build;
use SlackPack::Constants qw(SP_NAME SP_VERSION SP_AUTHOR);
my $build = Module::Build->new
(
module_name => SP_NAME,
dist_abstract => 'SlackPack - Slackware packages',
dist_version => SP_VERSION,
dist_author => SP_AUTHOR,
license => 'gpl',
requires => {'perl' => '>= 5.8.0',
'CGI' => '3.51',
'DBI' => '1.54',
'Date::Parse' => '1.17',
'Exporter' => '5.61',
'File::Basename' => '2.85',
'HTML::Entities' => '3.56',
'HTML::TreeBuilder' => '3.23',
'HTTP::Cookies' => '6.00',
'HTTP::Date' => '6.00',
'HTTP::Headers::Util' => '6.00',
'I18N::AcceptLanguage' => '1.04',
'LWP::UserAgent' => '5.825',
'MIME::Base64' => '3.07',
'POSIX' => 0,
'Template' => '2.24',
},
create_readme => 0,
create_makefile_pl => 0
);
$build->create_build_script;