1 ################################################################################
5 ################################################################################
7 PERL_NET_SSLEAY_VERSION
= 1.72
8 PERL_NET_SSLEAY_SOURCE
= Net-SSLeay-
$(PERL_NET_SSLEAY_VERSION
).
tar.gz
9 PERL_NET_SSLEAY_SITE
= $(BR2_CPAN_MIRROR
)/authors
/id
/M
/MI
/MIKEM
10 PERL_NET_SSLEAY_DEPENDENCIES
= openssl
11 PERL_NET_SSLEAY_LICENSE
= OpenSSL
12 PERL_NET_SSLEAY_LICENSE_FILES
= LICENSE
14 # Try as hard as possible to remedy to the brain-damage their build-system
15 # suffers from: don't search for openssl, they pick the host-system one.
16 PERL_NET_SSLEAY_CONF_ENV
= OPENSSL_PREFIX
=$(STAGING_DIR
)/usr
18 # Remove problematic single quotes in LDDLFLAGS, CCFLAGS & OPTIMIZE definition
19 define PERL_NET_SSLEAY_FIX_MAKEFILE
20 $(SED
) "s/^LDDLFLAGS = '\(.*\)'/LDDLFLAGS = \1/" $(@D
)/Makefile
21 $(SED
) "s/^CCFLAGS = '\(.*\)'/CCFLAGS = \1/" $(@D
)/Makefile
22 $(SED
) "s/^OPTIMIZE = '\(.*\)'/OPTIMIZE = \1/" $(@D
)/Makefile
24 PERL_NET_SSLEAY_POST_CONFIGURE_HOOKS
+= PERL_NET_SSLEAY_FIX_MAKEFILE
26 $(eval
$(perl-package
))