summaryrefslogtreecommitdiffstats
path: root/package/perl-apache-logformat-compiler
diff options
context:
space:
mode:
Diffstat (limited to 'package/perl-apache-logformat-compiler')
-rw-r--r--package/perl-apache-logformat-compiler/Config.in7
-rw-r--r--package/perl-apache-logformat-compiler/perl-apache-logformat-compiler.hash6
-rw-r--r--package/perl-apache-logformat-compiler/perl-apache-logformat-compiler.mk14
3 files changed, 27 insertions, 0 deletions
diff --git a/package/perl-apache-logformat-compiler/Config.in b/package/perl-apache-logformat-compiler/Config.in
new file mode 100644
index 0000000000..81d621082c
--- /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 0000000000..5466435c5a
--- /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 0000000000..156a0aaa4b
--- /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))
OpenPOWER on IntegriCloud