libesmtp: add ssl support, new upstream URL

Signed-off-by: Othmar Truniger <github@truniger.ch>
This commit is contained in:
Othmar Truniger 2016-03-05 10:53:07 +01:00 committed by Zoltan HERPAI
parent b26a06f139
commit 8dad744f51
1 changed files with 8 additions and 9 deletions

View File

@ -1,5 +1,5 @@
#
# Copyright (C) 2008-2015 OpenWrt.org
# Copyright (C) 2008-2016 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@ -9,14 +9,16 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libesmtp
PKG_VERSION:=1.0.6
PKG_RELEASE:=2
PKG_MD5SUM:=c4fedc999b6c3820296b0eb92cc2e252
PKG_RELEASE:=3
PKG_MAINTAINER:=Othmar Truniger <github@truniger.ch>
PKG_LICENSE:=LGPL-2.0+
PKG_LICENSE_FILES:=COPYING
PKG_SOURCE_URL:=http://www.stafford.uklinux.net/libesmtp
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/tru7/libesmtp.git
PKG_SOURCE_VERSION=10e9a6df9f76da610941addf71b9a3cbf94f2e9f
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_BUILD_PARALLEL:=1
@ -28,13 +30,10 @@ define Package/libesmtp
SECTION:=libs
CATEGORY:=Libraries
TITLE:=A Library for Posting Electronic Mail
URL:=http://www.stafford.uklinux.net/libesmtp/
DEPENDS:=+libpthread
URL:=https://github.com/tru7/libesmtp.git
DEPENDS:=+libpthread +libopenssl
endef
CONFIGURE_ARGS += \
--without-openssl
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/libesmtp-config $(1)/usr/bin/