2014-12-31 09:58:13 +01:00
|
|
|
#
|
2016-03-05 10:53:07 +01:00
|
|
|
# Copyright (C) 2008-2016 OpenWrt.org
|
2014-12-31 09:58:13 +01:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=libesmtp
|
2021-06-16 04:03:43 +02:00
|
|
|
PKG_VERSION:=1.1.0
|
treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.
The following temporary change was made to the core:
diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))
COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))
all:
FORCE: ;
And this command used to fix affected packages:
for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
make package/$i/download
done
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 18:32:27 +02:00
|
|
|
PKG_RELEASE:=2
|
2014-12-31 09:58:13 +01:00
|
|
|
|
|
|
|
PKG_MAINTAINER:=Othmar Truniger <github@truniger.ch>
|
2019-09-02 15:15:08 +02:00
|
|
|
PKG_LICENSE:=LGPL-2.0-or-later
|
2014-12-31 09:58:13 +01:00
|
|
|
PKG_LICENSE_FILES:=COPYING
|
|
|
|
|
2021-06-16 04:03:43 +02:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=https://codeload.github.com/libesmtp/libESMTP/tar.gz/v$(PKG_VERSION)?
|
|
|
|
PKG_HASH:=32bc3614ca12d21c7d933f32d43410e8744b6f91fdca7732da9877a385e4e6c3
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/libESMTP-$(PKG_VERSION)
|
2014-12-31 09:58:13 +01:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2021-09-08 00:24:45 +02:00
|
|
|
include $(INCLUDE_DIR)/meson.mk
|
2014-12-31 09:58:13 +01:00
|
|
|
|
|
|
|
define Package/libesmtp
|
|
|
|
SECTION:=libs
|
|
|
|
CATEGORY:=Libraries
|
|
|
|
TITLE:=A Library for Posting Electronic Mail
|
2020-08-13 03:27:34 +02:00
|
|
|
URL:=https://libesmtp.github.io/
|
2016-03-05 10:53:07 +01:00
|
|
|
DEPENDS:=+libpthread +libopenssl
|
2014-12-31 09:58:13 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/InstallDev
|
2015-03-11 23:33:42 +01:00
|
|
|
$(INSTALL_DIR) $(1)/usr/include
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2021-06-16 04:03:43 +02:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libesmtp.so* $(1)/usr/lib/
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/esmtp-plugins-6.2.0
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/esmtp-plugins-6.2.0/sasl-crammd5.so $(1)/usr/lib/esmtp-plugins-6.2.0
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/esmtp-plugins-6.2.0/sasl-login.so $(1)/usr/lib/esmtp-plugins-6.2.0
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/esmtp-plugins-6.2.0/sasl-ntlm.so $(1)/usr/lib/esmtp-plugins-6.2.0
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/esmtp-plugins-6.2.0/sasl-plain.so $(1)/usr/lib/esmtp-plugins-6.2.0
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libesmtp-1.0.pc $(1)/usr/lib/pkgconfig
|
2014-12-31 09:58:13 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/libesmtp/install
|
2021-06-16 04:03:43 +02:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2014-12-31 09:58:13 +01:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libesmtp.so.* $(1)/usr/lib/
|
2021-06-16 04:03:43 +02:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/esmtp-plugins-6.2.0
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/esmtp-plugins-6.2.0/sasl-crammd5.so $(1)/usr/lib/esmtp-plugins-6.2.0
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/esmtp-plugins-6.2.0/sasl-login.so $(1)/usr/lib/esmtp-plugins-6.2.0
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/esmtp-plugins-6.2.0/sasl-ntlm.so $(1)/usr/lib/esmtp-plugins-6.2.0
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/esmtp-plugins-6.2.0/sasl-plain.so $(1)/usr/lib/esmtp-plugins-6.2.0
|
2014-12-31 09:58:13 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,libesmtp))
|