2 # Copyright (C) 2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
15 PKG_MAINTAINER
:=John Crispin
<blogic@openwrt.org
>
17 include $(INCLUDE_DIR
)/package.mk
18 include $(INCLUDE_DIR
)/cmake.mk
23 SUBMENU
:=Web Servers
/Proxies
24 DEPENDS
:=+libubox
+libubus
25 TITLE
:=CGI utility for handling up
/downloading of files
28 define Package
/cgi-io
/description
29 This package contains an cgi utility that is useful for up
/downloading files
33 mkdir
-p
$(PKG_BUILD_DIR
)
34 $(CP
) .
/src
/* $(PKG_BUILD_DIR
)/
37 define Package
/cgi-io
/install
38 $(INSTALL_DIR
) $(1)/usr
/libexec
$(1)/www
/cgi-bin
/
39 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/cgi-io
$(1)/usr
/libexec
40 $(LN
) ..
/..
/usr
/libexec
/cgi-io
$(1)/www
/cgi-bin
/cgi-upload
41 $(LN
) ..
/..
/usr
/libexec
/cgi-io
$(1)/www
/cgi-bin
/cgi-download
44 $(eval
$(call BuildPackage
,cgi-io
))