From 4b95edec81e80251b504be641caa9b6f5c08797a Mon Sep 17 00:00:00 2001 From: vanhofen Date: Thu, 7 Jul 2022 21:04:09 +0200 Subject: [PATCH] - xupnpd: rework build --- package/xupnpd/xupnpd.mk | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/package/xupnpd/xupnpd.mk b/package/xupnpd/xupnpd.mk index 9da17860..371ebeb4 100644 --- a/package/xupnpd/xupnpd.mk +++ b/package/xupnpd/xupnpd.mk @@ -24,16 +24,11 @@ XUPNPD_MAKE_OPTS = \ -I$(TARGET_includedir)" \ embedded -define XUPNPD_INSTALL_BINARY +define XUPNPD_INSTALL_CMDS $(INSTALL_EXEC) -D $(PKG_BUILD_DIR)/xupnpd $(TARGET_bindir)/xupnpd -endef -XUPNPD_PRE_FOLLOWUP_HOOKS += XUPNPD_INSTALL_BINARY - -define XUPNPD_INSTALL_DATA $(INSTALL) -d $(TARGET_datadir)/xupnpd/config $(INSTALL_COPY) $(PKG_BUILD_DIR)/{plugins,profiles,ui,www,*.lua} $(TARGET_datadir)/xupnpd/ endef -XUPNPD_PRE_FOLLOWUP_HOOKS += XUPNPD_INSTALL_DATA define XUPNPD_TARGET_CLEANUP $(TARGET_RM) $(TARGET_datadir)/xupnpd/plugins/staff/xupnpd_18plus.lua @@ -56,4 +51,4 @@ endef XUPNPD_TARGET_FINALIZE_HOOKS += XUPNPD_INSTALL_SKEL xupnpd: | $(TARGET_DIR) - $(call generic-package,$(PKG_NO_INSTALL)) + $(call generic-package)