Lib.pm (1880B)
1 #!/usr/bin/env perl 2 # 3 # vim: set ts=4:noet 4 # 5 # Lib.pm 6 # shared functions for the sbo_ scripts. 7 # 8 use 5.16.0; 9 use strict; 10 use warnings FATAL => 'all'; 11 12 package SBO::Lib; 13 our $VERSION = '2.9.0'; 14 15 =pod 16 17 =encoding UTF-8 18 19 =head1 NAME 20 21 SBO::Lib - Library for working with SlackBuilds.org. 22 23 =head1 SYNOPSIS 24 25 use SBO::Lib qw/ :all /; 26 27 =head1 DESCRIPTION 28 29 SBO::Lib is the entry point for all the related modules, and is simply re- 30 exporting all of their exports. 31 32 =head1 SEE ALSO 33 34 =over 35 36 =item L<SBO::Lib::Cryptography> 37 38 =item L<SBO::Lib::Util> 39 40 =item L<SBO::Lib::Info> 41 42 =item L<SBO::Lib::Repo> 43 44 =item L<SBO::Lib::Tree> 45 46 =item L<SBO::Lib::Pkgs> 47 48 =item L<SBO::Lib::Build> 49 50 =item L<SBO::Lib::Readme> 51 52 =item L<SBO::Lib::Download> 53 54 =back 55 56 =cut 57 58 use SBO::Lib::Cryptography qw/ :all /; 59 use SBO::Lib::Util qw/ :all /; 60 use SBO::Lib::Info qw/ :all /; 61 use SBO::Lib::Repo qw/ :all /; 62 use SBO::Lib::Tree qw/ :all /; 63 use SBO::Lib::Pkgs qw/ :all /; 64 use SBO::Lib::Build qw/:all /; 65 use SBO::Lib::Readme qw/ :all /; 66 use SBO::Lib::Download qw/ :all /; 67 68 use Exporter 'import'; 69 70 our @EXPORT_OK = ( 71 @SBO::Lib::Cryptography::EXPORT_OK, 72 @SBO::Lib::Util::EXPORT_OK, 73 @SBO::Lib::Info::EXPORT_OK, 74 @SBO::Lib::Repo::EXPORT_OK, 75 @SBO::Lib::Tree::EXPORT_OK, 76 @SBO::Lib::Pkgs::EXPORT_OK, 77 @SBO::Lib::Build::EXPORT_OK, 78 @SBO::Lib::Readme::EXPORT_OK, 79 @SBO::Lib::Download::EXPORT_OK, 80 ); 81 82 our %EXPORT_TAGS = ( 83 all => \@EXPORT_OK, 84 cryptography => \@SBO::Lib::Cryptography::EXPORT_OK, 85 util => \@SBO::Lib::Util::EXPORT_OK, 86 info => \@SBO::Lib::Info::EXPORT_OK, 87 repo => \@SBO::Lib::Repo::EXPORT_OK, 88 tree => \@SBO::Lib::Tree::EXPORT_OK, 89 pkgs => \@SBO::Lib::Pkgs::EXPORT_OK, 90 build => \@SBO::Lib::Build::EXPORT_OK, 91 readme => \@SBO::Lib::Readme::EXPORT_OK, 92 download => \@SBO::Lib::Download::EXPORT_OK, 93 const => $SBO::Lib::Util::EXPORT_TAGS{const}, 94 config => $SBO::Lib::Util::EXPORT_TAGS{config}, 95 ); 96 97 'ok'; 98 99 __END__