summaryrefslogtreecommitdiff
path: root/libesmtp/libesmtp_1.0.1.oe
blob: 38c00d40ec3bf71290476b34c305567e59b9fcc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
DEPENDS = "virtual/libc openssl"
DESCRIPTION = "LibESMTP is a library to manage posting \
(or submission of) electronic mail using SMTP to a \
preconfigured Mail Transport Agent (MTA) such as Exim."
FILES_libesmtp_append = " ${libdir}/esmtp-plugins"

SRC_URI = "http://www.stafford.uklinux.net/libesmtp/libesmtp-${PV}.tar.bz2  \
           file://${FILESDIR}/configure.patch;patch=1"

inherit autotools libtool

EXTRA_OECONF = "--disable-isoc --with-openssl=${STAGING_LIBDIR}/.."

do_stage () {
	install -m 0644 .libs/libesmtp.a ${STAGING_LIBDIR}/
	install -m 0644 .libs/libesmtp.lai ${STAGING_LIBDIR}/libesmtp.la
	oe_soinstall .libs/libesmtp.so.5.1.2 ${STAGING_LIBDIR}/

        install -d ${STAGING_INCDIR}
	install -m 644 auth-client.h ${STAGING_INCDIR}
	install -m 644 auth-plugin.h ${STAGING_INCDIR}
	install -m 644 libesmtp.h ${STAGING_INCDIR}
}