Explorar el Código

perl-apache-logformat-compiler: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Francois Perrad hace 6 años
padre
commit
08fc2719d5

+ 1 - 0
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"

+ 7 - 0
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

+ 6 - 0
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

+ 14 - 0
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))