perl-db-file: remove this package

The module DB_File (Berkeley DB wrapper) is a Perl core module.
Long time ago, its build as a core module was broken.
Since perl-cross-1.0.2, this issue is fixed.
So, this package which build DB_File as CPAN module, becomes useless.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Francois Perrad 2016-12-26 15:50:35 +01:00 committed by Thomas Petazzoni
parent 4091d60557
commit 8546ff31c5
5 changed files with 9 additions and 37 deletions

View File

@ -145,6 +145,15 @@ endif
###############################################################################
comment "Legacy options removed in 2017.02"
config BR2_PACKAGE_PERL_DB_FILE
bool "perl-db-file removed"
select BR2_LEGACY
select BR2_PACKAGE_BERKELEYDB
select BR2_PACKAGE_PERL
help
DB_File can be built as a core Perl module, so the separate
perl-db-file package has been removed.
config BR2_KERNEL_HEADERS_4_7
bool "kernel headers version 4.7.x are no longer supported"
select BR2_KERNEL_HEADERS_4_4

View File

@ -579,7 +579,6 @@ 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-detect/Config.in"

View File

@ -1,11 +0,0 @@
config BR2_PACKAGE_PERL_DB_FILE
bool "perl-db-file"
depends on !BR2_STATIC_LIBS
select BR2_PACKAGE_BERKELEYDB
help
Perl5 access to Berkeley DB version 1.x or 2.x.
https://metacpan.org/release/DB_File
comment "perl-db-file needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS

View File

@ -1,3 +0,0 @@
# retrieved by scancpan from http://cpan.metacpan.org/
md5 0ae7910cabc31a44e50b713a8a475514 DB_File-1.835.tar.gz
sha256 41206f39a1bac49db8c1595e300b04c70e1393b2d78ccb9ef15c5c0b81037cfc DB_File-1.835.tar.gz

View File

@ -1,22 +0,0 @@
################################################################################
#
# 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_DB_FILE_LICENSE = Artistic or GPLv1+
PERL_DB_FILE_LICENSE_FILES = README
define PERL_DB_FILE_FIX_CONFIG_IN
$(SED) 's%^INCLUDE.*%INCLUDE = $(STAGING_DIR)/usr/include%' \
$(@D)/config.in
$(SED) 's%^LIB.*%LIB = $(STAGING_DIR)/usr/lib%' \
$(@D)/config.in
endef
PERL_DB_FILE_POST_PATCH_HOOKS += PERL_DB_FILE_FIX_CONFIG_IN
$(eval $(perl-package))