Commit a7b6aa73 authored by Nigel Kukard's avatar Nigel Kukard

Better 3rd party module support

parent d280dd03
Pipeline #163 failed with stages
in 1 minute and 3 seconds
......@@ -2,6 +2,6 @@
path = webgui/awitef
url = https://gitlab.devlabs.linuxassist.net/awit-frameworks/awit-extjs-framework.git
[submodule "awitpt"]
path = ext/awitpt
path = 3rdparty/awitpt
url = https://gitlab.devlabs.linuxassist.net/awit-frameworks/awit-perl-toolkit.git
branch = v1.0.x
my @additionalDirs = ();
# Makefile
# Copyright (C) 2014-2016, AllWorldIT
#
# 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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
use strict;
use warnings;
use ExtUtils::MakeMaker;
use File::Find;
find(
{
wanted => sub {
if (/^Makefile.PL$/) {
my $dirname = $File::Find::dir;
if ($dirname ne ".") {
$dirname =~ s,\./,,;
push(@additionalDirs,$dirname);
}
};
},
bydepth => 1,
},
".",
);
WriteMakefile(
'NAME' => 'SMRadius-3rdParty',
'DIR' => \@additionalDirs,
);
# vim: ts=4
Subproject commit 56f2745a2086b8f57e3fbc853a01e9e3a3558e8f
Subproject commit 201569f905bade5bf06cb06866dcd54f6b99c100
# Makefile
# Copyright (C) 2014, AllWorldIT
# Copyright (C) 2014-2016, AllWorldIT
#
# 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
......@@ -15,19 +15,31 @@
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use strict;
use warnings;
use ExtUtils::MakeMaker;
use File::Find;
WriteMakefile(
'NAME' => 'AWITPT',
'NAME' => 'SMRadius',
'VENDORPREFIX' => '/opt/smradius',
'INSTALLDIRS' => 'vendor',
'VERSION_FROM' => "lib/smradius/version.pm",
'DIR' => ["3rdparty"],
'EXE_FILES' => [qw( bin/smradiusd bin/smadmin bin/smradclient )],
);
# vim: ts=4
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment