[Buildroot] [PATCH 14/20] perl-apache-logformat-compiler: new package
Francois Perrad
fperrad at gmail.com
Sat Oct 6 16:55:18 UTC 2018
Signed-off-by: Francois Perrad <francois.perrad at gadz.org>
---
package/Config.in | 1 +
package/perl-apache-logformat-compiler/Config.in | 7 +++++++
.../perl-apache-logformat-compiler.hash | 6 ++++++
.../perl-apache-logformat-compiler.mk | 14 ++++++++++++++
4 files changed, 28 insertions(+)
create mode 100644 package/perl-apache-logformat-compiler/Config.in
create mode 100644 package/perl-apache-logformat-compiler/perl-apache-logformat-compiler.hash
create mode 100644 package/perl-apache-logformat-compiler/perl-apache-logformat-compiler.mk
diff --git a/package/Config.in b/package/Config.in
index 78570edb8..f603a7d17 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -665,6 +665,7 @@ endif
source "package/perl/Config.in"
if BR2_PACKAGE_PERL
menu "Perl libraries/modules"
+ source "package/perl-apache-logformat-compiler/Config.in"
source "package/perl-appconfig/Config.in"
source "package/perl-astro-suntime/Config.in"
source "package/perl-class-inspector/Config.in"
diff --git a/package/perl-apache-logformat-compiler/Config.in b/package/perl-apache-logformat-compiler/Config.in
new file mode 100644
index 000000000..66f25276c
--- /dev/null
+++ b/package/perl-apache-logformat-compiler/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PERL_APACHE_LOGFORMAT_COMPILER
+ bool "perl-apache-logformat-compiler"
+ select BR2_PACKAGE_PERL_POSIX_STRFTIME_COMPILER
+ help
+ Compile a log format string to perl-code
+
+ https://github.com/kazeburo/Apache-LogFormat-Compiler
diff --git a/package/perl-apache-logformat-compiler/perl-apache-logformat-compiler.hash b/package/perl-apache-logformat-compiler/perl-apache-logformat-compiler.hash
new file mode 100644
index 000000000..5466435c5
--- /dev/null
+++ b/package/perl-apache-logformat-compiler/perl-apache-logformat-compiler.hash
@@ -0,0 +1,6 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5 cbb0bf041ade8a39f65eadbdf8a346c1 Apache-LogFormat-Compiler-0.35.tar.gz
+sha256 1654c0000a042a8af052616e30b91c1f0b95a720c8048b59168a8bd99b07271a Apache-LogFormat-Compiler-0.35.tar.gz
+
+# computed by scancpan
+sha256 ab941cfc4794afa2113795b167177d1b25cbc77ebadd016e5727effc2cadd96b LICENSE
diff --git a/package/perl-apache-logformat-compiler/perl-apache-logformat-compiler.mk b/package/perl-apache-logformat-compiler/perl-apache-logformat-compiler.mk
new file mode 100644
index 000000000..156a0aaa4
--- /dev/null
+++ b/package/perl-apache-logformat-compiler/perl-apache-logformat-compiler.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-apache-logformat-compiler
+#
+################################################################################
+
+PERL_APACHE_LOGFORMAT_COMPILER_VERSION = 0.35
+PERL_APACHE_LOGFORMAT_COMPILER_SOURCE = Apache-LogFormat-Compiler-$(PERL_APACHE_LOGFORMAT_COMPILER_VERSION).tar.gz
+PERL_APACHE_LOGFORMAT_COMPILER_SITE = $(BR2_CPAN_MIRROR)/authors/id/K/KA/KAZEBURO
+PERL_APACHE_LOGFORMAT_COMPILER_DEPENDENCIES = host-perl-module-build-tiny perl-posix-strftime-compiler
+PERL_APACHE_LOGFORMAT_COMPILER_LICENSE = Artistic or GPL-1.0+
+PERL_APACHE_LOGFORMAT_COMPILER_LICENSE_FILES = LICENSE
+
+$(eval $(perl-package))
--
2.17.1
More information about the buildroot
mailing list