aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2015-04-26 11:37:14 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-26 12:03:06 +0200
commit1284bad1c476caf8c9cc65b72078d99c91659170 (patch)
tree2fa4faf6cadc3ceebe7239004475eb7baa76ab02
parent17d2c6d5db1058efde7b65c8d068ec5fdfabe960 (diff)
downloadbuildroot-1284bad1c476caf8c9cc65b72078d99c91659170.tar.gz
buildroot-1284bad1c476caf8c9cc65b72078d99c91659170.tar.bz2
package/perl-db-file: new package
[Thomas: rename package to perl-db-file.] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/Config.in1
-rw-r--r--package/perl-db-file/Config.in12
-rw-r--r--package/perl-db-file/perl-db-file.hash3
-rw-r--r--package/perl-db-file/perl-db-file.mk13
4 files changed, 29 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 4327f070cc..6ca42762d8 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -505,6 +505,7 @@ menu "Perl libraries/modules"
source "package/perl-crypt-openssl-random/Config.in"
source "package/perl-crypt-openssl-rsa/Config.in"
source "package/perl-datetime-tiny/Config.in"
+ source "package/perl-db-file/Config.in"
source "package/perl-digest-hmac/Config.in"
source "package/perl-digest-sha1/Config.in"
source "package/perl-encode-locale/Config.in"
diff --git a/package/perl-db-file/Config.in b/package/perl-db-file/Config.in
new file mode 100644
index 0000000000..18daec3048
--- /dev/null
+++ b/package/perl-db-file/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_PERL_DB_FILE
+ bool "perl-db-file"
+ depends on !BR2_STATIC_LIBS
+ select BR2_PACKAGE_BERKELEYDB
+ select BR2_PACKAGE_BERKELEYDB_COMPAT185
+ help
+ Perl5 access to Berkeley DB version 1.x
+
+ https://metacpan.org/release/DB_File
+
+comment "perl-db_file needs a toolchain w/ dynamic library"
+ depends on BR2_STATIC_LIBS
diff --git a/package/perl-db-file/perl-db-file.hash b/package/perl-db-file/perl-db-file.hash
new file mode 100644
index 0000000000..df0113c8b9
--- /dev/null
+++ b/package/perl-db-file/perl-db-file.hash
@@ -0,0 +1,3 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5 0ae7910cabc31a44e50b713a8a475514 DB_File-1.835.tar.gz
+sha256 41206f39a1bac49db8c1595e300b04c70e1393b2d78ccb9ef15c5c0b81037cfc DB_File-1.835.tar.gz
diff --git a/package/perl-db-file/perl-db-file.mk b/package/perl-db-file/perl-db-file.mk
new file mode 100644
index 0000000000..150192622e
--- /dev/null
+++ b/package/perl-db-file/perl-db-file.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# perl-db_file
+#
+################################################################################
+
+PERL_DB_FILE_VERSION = 1.835
+PERL_DB_FILE_SOURCE = DB_File-$(PERL_DB_FILE_VERSION).tar.gz
+PERL_DB_FILE_SITE = $(BR2_CPAN_MIRROR)/authors/id/P/PM/PMQS
+PERL_DB_FILE_DEPENDENCIES = berkeleydb perl
+PERL_DB_FILE_LICENSE = Artistic or GPLv1+
+
+$(eval $(perl-package))