You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.7 KiB

  1. # Copyright (C) 2014 Nikos Mavrogiannopoulos
  2. #
  3. # This program is free software; you can redistribute it and/or modify
  4. # it under the terms of the GNU General Public License as published by
  5. # the Free Software Foundation; either version 2 of the License, or
  6. # (at your option) any later version.
  7. #
  8. # This program is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. # GNU General Public License for more details.
  12. #
  13. # You should have received a copy of the GNU General Public License along
  14. # with this program; if not, write to the Free Software Foundation, Inc.,
  15. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  16. #
  17. # The full GNU General Public License is included in this distribution in
  18. # the file called "COPYING".
  19. include $(TOPDIR)/rules.mk
  20. PKG_NAME:=luci-app-ocserv
  21. PKG_RELEASE:=1
  22. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  23. include $(INCLUDE_DIR)/package.mk
  24. define Package/luci-app-ocserv
  25. SECTION:=luci
  26. CATEGORY:=LuCI
  27. SUBMENU:=3. Applications
  28. TITLE:= OpenConnect VPN server configuration and status module
  29. DEPENDS:=+luci-lib-json +luci-lib-nixio +luci-mod-admin-core +ocserv
  30. MAINTAINER:= Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
  31. endef
  32. define Package/luci-app-ocserv/description
  33. ocserv web module for LuCi web interface
  34. endef
  35. define Build/Prepare
  36. endef
  37. define Build/Configure
  38. endef
  39. define Build/Compile
  40. endef
  41. # Fixme: How can we add <%+ocserv_status%> in view/admin_status/index.htm?
  42. define Package/luci-app-ocserv/install
  43. $(CP) ./files/* $(1)/
  44. endef
  45. $(eval $(call BuildPackage,luci-app-ocserv))