From fe776c91a3769970513c59e4106b7e675fe92f0e Mon Sep 17 00:00:00 2001 From: Stelios Koroneos Date: Mon, 28 Aug 2006 21:15:31 +0000 Subject: [PATCH] New package for libesmtp 1.0.4 Closes bug #1346 --- packages/libesmtp/libesmtp_1.0.4.bb | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/packages/libesmtp/libesmtp_1.0.4.bb b/packages/libesmtp/libesmtp_1.0.4.bb index 294333c579..baff0d8931 100644 --- a/packages/libesmtp/libesmtp_1.0.4.bb +++ b/packages/libesmtp/libesmtp_1.0.4.bb @@ -1,19 +1,22 @@ -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 or PostFix." LICENSE = "GPL" -SECTION = "libs/network" +SECTION = "libs" DEPENDS = "openssl" -PR = "r1" +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" -inherit autotools binconfig +inherit autotools EXTRA_OECONF = "--disable-isoc --with-openssl=${STAGING_LIBDIR}/.." -do_stage() { - autotools_stage_all -} +do_stage () { + oe_libinstall -a -so libesmtp ${STAGING_LIBDIR} -FILES_libesmtp_append = " ${libdir}/esmtp-plugins" + 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} +} -- 2.39.5