From: Petr Štetiar Date: Sun, 11 Oct 2020 12:47:43 +0000 (+0200) Subject: Remove Makefile X-Git-Url: http://git.openwrt.org/feed/routing.git;lede-17.01?a=commitdiff_plain;h=b99aa8a64cca4d6d6adc8ce3b851ca1e9a56bdf5;p=project%2Fcgi-io.git Remove Makefile It makes no sense to keep it as the project now lives as a separate C project. Signed-off-by: Petr Štetiar --- diff --git a/Makefile b/Makefile deleted file mode 100644 index 814a1b2..0000000 --- a/Makefile +++ /dev/null @@ -1,46 +0,0 @@ -# -# Copyright (C) 2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=cgi-io -PKG_RELEASE:=19 - -PKG_LICENSE:=GPL-2.0-or-later - -PKG_MAINTAINER:=John Crispin - -include $(INCLUDE_DIR)/package.mk -include $(INCLUDE_DIR)/cmake.mk - -define Package/cgi-io - SECTION:=net - CATEGORY:=Network - SUBMENU:=Web Servers/Proxies - DEPENDS:=+libubox +libubus - TITLE:=CGI utility for handling up/downloading of files -endef - -define Package/cgi-io/description - This package contains an cgi utility that is useful for up/downloading files -endef - -define Build/Prepare - mkdir -p $(PKG_BUILD_DIR) - $(CP) ./src/* $(PKG_BUILD_DIR)/ -endef - -define Package/cgi-io/install - $(INSTALL_DIR) $(1)/usr/libexec $(1)/www/cgi-bin/ - $(INSTALL_BIN) $(PKG_BUILD_DIR)/cgi-io $(1)/usr/libexec - $(LN) ../../usr/libexec/cgi-io $(1)/www/cgi-bin/cgi-upload - $(LN) ../../usr/libexec/cgi-io $(1)/www/cgi-bin/cgi-download - $(LN) ../../usr/libexec/cgi-io $(1)/www/cgi-bin/cgi-backup - $(LN) ../../usr/libexec/cgi-io $(1)/www/cgi-bin/cgi-exec -endef - -$(eval $(call BuildPackage,cgi-io))