From 54439e12c6e846d39be7895463b2b07d80aef780 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 17 Jun 2014 22:39:14 +0200 Subject: convert to use autoreconf --- package/libesmtp/Makefile | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'package/libesmtp/Makefile') diff --git a/package/libesmtp/Makefile b/package/libesmtp/Makefile index ceeeec4fa..07bedd281 100644 --- a/package/libesmtp/Makefile +++ b/package/libesmtp/Makefile @@ -3,28 +3,34 @@ include $(TOPDIR)/rules.mk -# always use tab spaces as separator, no spaces PKG_NAME:= libesmtp PKG_VERSION:= 1.0.6 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_MD5SUM:= bf3915e627fd8f35524a8fdfeed979c8 -PKG_DESCR:= lib that implements the client side of the SMTP protocol +PKG_DESCR:= implements the client side of the smtp protocol PKG_SECTION:= libs/net +PKG_BUILDDEP:= autotool PKG_URL:= http://www.stafford.uklinux.net/libesmtp/ PKG_SITES:= http://www.stafford.uklinux.net/libesmtp/ +PKG_OPTS:= dev + DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2 -PKG_FLAVOURS_PKGNAME:= WITH_SSL -PKGFD_WITH_SSL:= enable SSL support +PKG_FLAVOURS_LIBESMTP:= WITH_SSL +PKGFD_WITH_SSL:= enable ssl support PKGFS_WITH_SSL:= libopenssl PKGFB_WITH_SSL:= openssl include $(TOPDIR)/mk/package.mk -$(eval $(call PKG_template,LIBESMTP,libesmtp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,LIBESMTP,libesmtp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) + +AUTOTOOL_STYLE:= autoreconf ifneq (${ADK_PACKAGE_LIBESMTP_WITH_SSL},) CONFIGURE_ARGS+= --with-openssl +else +CONFIGURE_ARGS+= --without-openssl endif libesmtp-install: -- cgit v1.2.3