1*4882a593Smuzhiyun################################################################################ 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# perl-net-ssleay 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyun################################################################################ 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunPERL_NET_SSLEAY_VERSION = 1.85 8*4882a593SmuzhiyunPERL_NET_SSLEAY_SOURCE = Net-SSLeay-$(PERL_NET_SSLEAY_VERSION).tar.gz 9*4882a593SmuzhiyunPERL_NET_SSLEAY_SITE = $(BR2_CPAN_MIRROR)/authors/id/M/MI/MIKEM 10*4882a593SmuzhiyunPERL_NET_SSLEAY_DEPENDENCIES = openssl 11*4882a593SmuzhiyunPERL_NET_SSLEAY_LICENSE = OpenSSL 12*4882a593SmuzhiyunPERL_NET_SSLEAY_LICENSE_FILES = LICENSE 13*4882a593SmuzhiyunPERL_NET_SSLEAY_DISTNAME = Net-SSLeay 14*4882a593Smuzhiyun 15*4882a593Smuzhiyun# Try as hard as possible to remedy to the brain-damage their build-system 16*4882a593Smuzhiyun# suffers from: don't search for openssl, they pick the host-system one. 17*4882a593SmuzhiyunPERL_NET_SSLEAY_CONF_ENV = OPENSSL_PREFIX=$(STAGING_DIR)/usr 18*4882a593Smuzhiyun 19*4882a593Smuzhiyun# Remove problematic single quotes in LDDLFLAGS, CCFLAGS & OPTIMIZE definition 20*4882a593Smuzhiyundefine PERL_NET_SSLEAY_FIX_MAKEFILE 21*4882a593Smuzhiyun $(SED) "s/^LDDLFLAGS = '\(.*\)'/LDDLFLAGS = \1/" $(@D)/Makefile 22*4882a593Smuzhiyun $(SED) "s/^CCFLAGS = '\(.*\)'/CCFLAGS = \1/" $(@D)/Makefile 23*4882a593Smuzhiyun $(SED) "s/^OPTIMIZE = '\(.*\)'/OPTIMIZE = \1/" $(@D)/Makefile 24*4882a593Smuzhiyunendef 25*4882a593SmuzhiyunPERL_NET_SSLEAY_POST_CONFIGURE_HOOKS += PERL_NET_SSLEAY_FIX_MAKEFILE 26*4882a593Smuzhiyun 27*4882a593Smuzhiyun$(eval $(perl-package)) 28