diff mbox series

[13/20] host-perl-module-build-tiny: new package

Message ID 20181006165524.23778-14-francois.perrad@gadz.org
State Accepted
Headers show
Series Plack | expand

Commit Message

Francois Perrad Oct. 6, 2018, 4:55 p.m. UTC
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 .../perl-module-build-tiny.hash                    |  6 ++++++
 .../perl-module-build-tiny.mk                      | 14 ++++++++++++++
 2 files changed, 20 insertions(+)
 create mode 100644 package/perl-module-build-tiny/perl-module-build-tiny.hash
 create mode 100644 package/perl-module-build-tiny/perl-module-build-tiny.mk

Comments

Thomas Petazzoni Oct. 8, 2018, 10:15 a.m. UTC | #1
Hello,

On Sat,  6 Oct 2018 18:55:17 +0200, Francois Perrad wrote:
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> ---
>  .../perl-module-build-tiny.hash                    |  6 ++++++
>  .../perl-module-build-tiny.mk                      | 14 ++++++++++++++
>  2 files changed, 20 insertions(+)
>  create mode 100644 package/perl-module-build-tiny/perl-module-build-tiny.hash
>  create mode 100644 package/perl-module-build-tiny/perl-module-build-tiny.mk

Applied after dropping the "host-" part of the prefix in the commit
title.

However, one question: why was Module-Build-Tiny already in the
white_list array in scancpan if it wasn't packaged in Buildroot ?

Thanks,

Thomas
diff mbox series

Patch

diff --git a/package/perl-module-build-tiny/perl-module-build-tiny.hash b/package/perl-module-build-tiny/perl-module-build-tiny.hash
new file mode 100644
index 000000000..357c238dd
--- /dev/null
+++ b/package/perl-module-build-tiny/perl-module-build-tiny.hash
@@ -0,0 +1,6 @@ 
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    2332c90c17454107fea3f2614e11a3a9 Module-Build-Tiny-0.039.tar.gz
+sha256 7d580ff6ace0cbe555bf36b86dc8ea232581530cbeaaea09bccb57b55797f11c Module-Build-Tiny-0.039.tar.gz
+
+# computed by scancpan
+sha256 09fd2bc0428920c455f10c5a6c52e2bb4615114e88966c75ce27a07af028c36b LICENSE
diff --git a/package/perl-module-build-tiny/perl-module-build-tiny.mk b/package/perl-module-build-tiny/perl-module-build-tiny.mk
new file mode 100644
index 000000000..890fdc735
--- /dev/null
+++ b/package/perl-module-build-tiny/perl-module-build-tiny.mk
@@ -0,0 +1,14 @@ 
+################################################################################
+#
+# perl-module-build-tiny
+#
+################################################################################
+
+PERL_MODULE_BUILD_TINY_VERSION = 0.039
+PERL_MODULE_BUILD_TINY_SOURCE = Module-Build-Tiny-$(PERL_MODULE_BUILD_TINY_VERSION).tar.gz
+PERL_MODULE_BUILD_TINY_SITE = $(BR2_CPAN_MIRROR)/authors/id/L/LE/LEONT
+HOST_PERL_MODULE_BUILD_TINY_DEPENDENCIES = host-perl-extutils-config host-perl-extutils-helpers host-perl-extutils-installpaths
+PERL_MODULE_BUILD_TINY_LICENSE = Artistic or GPL-1.0+
+PERL_MODULE_BUILD_TINY_LICENSE_FILES = LICENSE
+
+$(eval $(host-perl-package))