blob: 3db8c563cb7f3ba56964b82a7eda92c0ca5b8cfd [file] [log] [blame]
################################################################################
#
# 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))