From e22454606125037da04cc387e1dca16fd070540b Mon Sep 17 00:00:00 2001 From: Daniel Engberg Date: Wed, 30 Jan 2019 10:13:34 +0100 Subject: [PATCH] libs/libmicrohttpd: Fix for install sections Install libs for -ssl variant Be a bit more specific about what we're installing... Signed-off-by: Daniel Engberg --- libs/libmicrohttpd/Makefile | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/libs/libmicrohttpd/Makefile b/libs/libmicrohttpd/Makefile index 5859e309e..23aa0a96f 100644 --- a/libs/libmicrohttpd/Makefile +++ b/libs/libmicrohttpd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libmicrohttpd PKG_VERSION:=0.9.62 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:=Alexander Couzens PKG_LICENSE:=LGPL-2.1 PKG_LICENSE_FILES:=COPYING @@ -69,16 +69,21 @@ endef define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include/ - $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ + $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/microhttpd.h $(1)/usr/include/ $(INSTALL_DIR) $(1)/usr/lib/ - $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.{so*,a,la} $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmicrohttpd.{so*,a,la} $(1)/usr/lib/ $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/ - $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(1)/usr/lib/pkgconfig/ + $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libmicrohttpd.pc $(1)/usr/lib/pkgconfig/ endef define Package/libmicrohttpd/install $(INSTALL_DIR) $(1)/usr/lib/ - $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmicrohttpd.so* $(1)/usr/lib/ +endef + +define Package/libmicrohttpd-ssl/install + $(INSTALL_DIR) $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmicrohttpd.so* $(1)/usr/lib/ endef $(eval $(call BuildPackage,libmicrohttpd))