DEPENDS = "openssl"
LICENSE = "GPL"
DESCRIPTION = "Stunnel is a program that allows you to encrypt \
arbitrary TCP connections inside SSL"

SRC_URI = "http://www.stunnel.org/download/stunnel/src/stunnel-${PV}.tar.gz \
	   file://configure.patch;patch=1 \
	   file://automake.patch;patch=1"
S = "${WORKDIR}/stunnel-${PV}"

inherit autotools 

EXTRA_OECONF = "--with-ssl=${STAGING_LIBDIR}/.."