package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / perl-db-file / perl-db-file.mk
blob3db8c563cb7f3ba56964b82a7eda92c0ca5b8cfd
1 ################################################################################
3 # perl-db-file
5 ################################################################################
7 PERL_DB_FILE_VERSION = 1.835
8 PERL_DB_FILE_SOURCE = DB_File-$(PERL_DB_FILE_VERSION).tar.gz
9 PERL_DB_FILE_SITE = $(BR2_CPAN_MIRROR)/authors/id/P/PM/PMQS
10 PERL_DB_FILE_DEPENDENCIES = berkeleydb
11 PERL_DB_FILE_LICENSE = Artistic or GPLv1+
12 PERL_DB_FILE_LICENSE_FILES = README
14 define PERL_DB_FILE_FIX_CONFIG_IN
15 $(SED) 's%^INCLUDE.*%INCLUDE = $(STAGING_DIR)/usr/include%' \
16 $(@D)/config.in
17 $(SED) 's%^LIB.*%LIB = $(STAGING_DIR)/usr/lib%' \
18 $(@D)/config.in
19 endef
20 PERL_DB_FILE_POST_PATCH_HOOKS += PERL_DB_FILE_FIX_CONFIG_IN
22 $(eval $(perl-package))