gluon-config-api*: cleanup

This commit is contained in:
lemoer 2021-08-12 02:29:30 +02:00
parent b9174390b2
commit 2d2c71f11e
2 changed files with 1 additions and 23 deletions

View File

@ -1,8 +0,0 @@
#!/usr/bin/lua
require 'gluon.web.cgi' {
base_path = '/lib/gluon/config-api',
layout_package = 'gluon-config-api',
layout_template = 'theme/layout', -- only used for error pages
}

View File

@ -1,5 +1,5 @@
#
# Copyright (C) 2007-2014 OpenWrt.org
# Copyright (C) 2021 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@ -19,8 +19,6 @@ PKG_MAINTAINER:=Leonardo Mörlein <me@irrelefant.net>
PKG_LICENSE:=BSD-2-Clause
PKG_FIXUP:=autoreconf
# PKG_FIXUP:=patch-libtool
# PKG_FIXUP:=gettext-version
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/autotools.mk
@ -40,9 +38,6 @@ define Package/libucl/description
Universal configuration library parser.
endef
# MAKE_FLAGS += \
# CFLAGS="$(TARGET_CFLAGS) $(FPIC)"
define Package/libucl/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/src/.libs/libucl.so $(1)/usr/lib/
@ -53,13 +48,4 @@ define Package/libucl/install
endef
# define Build/InstallDev
# $(INSTALL_DIR) $(1)/usr/include
# $(CP) $(PKG_BUILD_DIR)/argp.h \
# $(1)/usr/include/
# $(INSTALL_DIR) $(1)/usr/lib
# $(CP) $(PKG_BUILD_DIR)/libargp.a \
# $(1)/usr/lib/
# endef
$(eval $(call BuildPackage,libucl))