2015-04-26 11:37:14 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
2015-07-23 18:47:16 +02:00
|
|
|
# perl-db-file
|
2015-04-26 11:37:14 +02:00
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
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
|
2015-09-04 10:31:14 +02:00
|
|
|
PERL_DB_FILE_DEPENDENCIES = berkeleydb
|
2015-04-26 11:37:14 +02:00
|
|
|
PERL_DB_FILE_LICENSE = Artistic or GPLv1+
|
2015-10-26 18:45:01 +01:00
|
|
|
PERL_DB_FILE_LICENSE_FILES = README
|
2015-04-26 11:37:14 +02:00
|
|
|
|
2015-12-06 15:14:36 +01:00
|
|
|
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
|
|
|
|
|
2015-04-26 11:37:14 +02:00
|
|
|
$(eval $(perl-package))
|