Browse Source

perl-dbi: new package

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Christopher McCrory 7 years ago
parent
commit
741bae2fe5
5 changed files with 31 additions and 0 deletions
  1. 1 0
      DEVELOPERS
  2. 1 0
      package/Config.in
  3. 10 0
      package/perl-dbi/Config.in
  4. 6 0
      package/perl-dbi/perl-dbi.hash
  5. 13 0
      package/perl-dbi/perl-dbi.mk

+ 1 - 0
DEVELOPERS

@@ -486,6 +486,7 @@ F:	package/perl-astro-suntime/
 F:	package/perl-class-std/
 F:	package/perl-data-uuid/
 F:	package/perl-date-manip/
+F:	package/perl-dbi/
 
 N:	Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
 F:	package/audit/

+ 1 - 0
package/Config.in

@@ -676,6 +676,7 @@ menu "Perl libraries/modules"
 	source "package/perl-data-uuid/Config.in"
 	source "package/perl-date-manip/Config.in"
 	source "package/perl-datetime-tiny/Config.in"
+	source "package/perl-dbi/Config.in"
 	source "package/perl-digest-hmac/Config.in"
 	source "package/perl-digest-md5/Config.in"
 	source "package/perl-digest-sha1/Config.in"

+ 10 - 0
package/perl-dbi/Config.in

@@ -0,0 +1,10 @@
+config BR2_PACKAGE_PERL_DBI
+	bool "perl-dbi"
+	depends on !BR2_STATIC_LIBS
+	help
+	  Database independent interface for Perl
+
+	  http://dbi.perl.org/
+
+comment "perl-dbi needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS

+ 6 - 0
package/perl-dbi/perl-dbi.hash

@@ -0,0 +1,6 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    e77fd37fcf77fc88fde029c1b75ded54 DBI-1.641.tar.gz
+sha256 5509e532cdd0e3d91eda550578deaac29e2f008a12b64576e8c261bb92e8c2c1 DBI-1.641.tar.gz
+
+# computed by scancpan
+sha256 33453c8b0d8d474a42669ac702a13c20f39c91a34b3df4e6ca778fc2f0f711c7 LICENSE

+ 13 - 0
package/perl-dbi/perl-dbi.mk

@@ -0,0 +1,13 @@
+################################################################################
+#
+# perl-dbi
+#
+################################################################################
+
+PERL_DBI_VERSION = 1.641
+PERL_DBI_SOURCE = DBI-$(PERL_DBI_VERSION).tar.gz
+PERL_DBI_SITE = $(BR2_CPAN_MIRROR)/authors/id/T/TI/TIMB
+PERL_DBI_LICENSE = Artistic or GPL-1.0+
+PERL_DBI_LICENSE_FILES = LICENSE
+
+$(eval $(perl-package))