package/perl-file-listing: New package
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 19 Apr 2015 10:17:03 +0000 (12:17 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 19 Apr 2015 11:43:44 +0000 (13:43 +0200)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/perl-file-listing/Config.in [new file with mode: 0644]
package/perl-file-listing/perl-file-listing.hash [new file with mode: 0644]
package/perl-file-listing/perl-file-listing.mk [new file with mode: 0644]

index f0919234b46ada3debdaf1ca1632c598cec8b94c..883f7e9be8a247e21c6bdcc9d07f1d7fb33260c8 100644 (file)
@@ -505,6 +505,7 @@ menu "Perl libraries/modules"
        source "package/perl-datetime-tiny/Config.in"
        source "package/perl-digest-hmac/Config.in"
        source "package/perl-encode-locale/Config.in"
+       source "package/perl-file-listing/Config.in"
        source "package/perl-file-util/Config.in"
        source "package/perl-gd/Config.in"
        source "package/perl-gdgraph/Config.in"
diff --git a/package/perl-file-listing/Config.in b/package/perl-file-listing/Config.in
new file mode 100644 (file)
index 0000000..85f8e2e
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PERL_FILE_LISTING
+       bool "perl-file-listing"
+       select BR2_PACKAGE_PERL_HTTP_DATE
+       help
+         Module to parse directoy listings
+
+         https://github.com/gisle/file-listing
diff --git a/package/perl-file-listing/perl-file-listing.hash b/package/perl-file-listing/perl-file-listing.hash
new file mode 100644 (file)
index 0000000..1549c5a
--- /dev/null
@@ -0,0 +1,3 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    83f636b477741f3a014585bb9cc079a6 File-Listing-6.04.tar.gz
+sha256 1e0050fcd6789a2179ec0db282bf1e90fb92be35d1171588bd9c47d52d959cf5 File-Listing-6.04.tar.gz
diff --git a/package/perl-file-listing/perl-file-listing.mk b/package/perl-file-listing/perl-file-listing.mk
new file mode 100644 (file)
index 0000000..a9d8ced
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-file-listing
+#
+################################################################################
+
+PERL_FILE_LISTING_VERSION = 6.04
+PERL_FILE_LISTING_SOURCE = File-Listing-$(PERL_FILE_LISTING_VERSION).tar.gz
+PERL_FILE_LISTING_SITE = $(BR2_CPAN_MIRROR)/authors/id/G/GA/GAAS
+PERL_FILE_LISTING_DEPENDENCIES = perl-http-date
+PERL_FILE_LISTING_LICENSE = Artistic or GPLv1+
+PERL_FILE_LISTING_LICENSE_FILES = README
+
+$(eval $(perl-package))