Merge pull request #15286 from pprindeville/strongswan-move-ipsec.secrets
[feed/packages.git] / net / cgi-io / Makefile
1 #
2 # Copyright (C) 2015 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=cgi-io
11 PKG_RELEASE:=19
12
13 PKG_SOURCE_PROTO:=git
14 PKG_SOURCE_URL=$(PROJECT_GIT)/project/cgi-io.git
15 PKG_SOURCE_DATE:=2020-10-27
16 PKG_SOURCE_VERSION:=ab4c3471b26179b6e1decfb6ca27c4a87df9a0a4
17 PKG_MIRROR_HASH:=fb1ca916aeb75a58f3ca003556aa7516d30e5d868000fc00929ca4c4bf336b0e
18 CMAKE_INSTALL:=1
19
20 PKG_LICENSE:=GPL-2.0-or-later
21 PKG_MAINTAINER:=John Crispin <blogic@openwrt.org>
22
23 include $(INCLUDE_DIR)/package.mk
24 include ../../devel/ninja/ninja-cmake.mk
25
26 define Package/cgi-io
27 SECTION:=net
28 CATEGORY:=Network
29 SUBMENU:=Web Servers/Proxies
30 DEPENDS:=+libubox +libubus
31 TITLE:=CGI utility for handling up/downloading of files
32 endef
33
34 define Package/cgi-io/description
35 This package contains an cgi utility that is useful for up/downloading files
36 endef
37
38 define Package/cgi-io/install
39 $(INSTALL_DIR) $(1)/usr/libexec $(1)/www/cgi-bin/
40 $(INSTALL_BIN) $(PKG_BUILD_DIR)/cgi-io $(1)/usr/libexec
41 $(LN) ../../usr/libexec/cgi-io $(1)/www/cgi-bin/cgi-upload
42 $(LN) ../../usr/libexec/cgi-io $(1)/www/cgi-bin/cgi-download
43 $(LN) ../../usr/libexec/cgi-io $(1)/www/cgi-bin/cgi-backup
44 $(LN) ../../usr/libexec/cgi-io $(1)/www/cgi-bin/cgi-exec
45 endef
46
47 $(eval $(call BuildPackage,cgi-io))