Blame view

buildroot/buildroot-2016.08.1/package/perl-db-file/perl-db-file.mk 725 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  ################################################################################
  #
  # 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))