source "package/open-plc-utils/Config.in"
source "package/openntpd/Config.in"
source "package/openobex/Config.in"
+ source "package/openresolv/Config.in"
source "package/openssh/Config.in"
source "package/openswan/Config.in"
source "package/openvpn/Config.in"
--- /dev/null
+config BR2_PACKAGE_OPENRESOLV
+ bool "openresolv"
+ help
+ openresolv is a resolvconf implementation which
+ manages resolv.conf. This tool provides a dns management
+ framework to track currently available nameservers.
+
+ https://github.com/rsmarples/openresolv
--- /dev/null
+################################################################################
+#
+# openresolv
+#
+################################################################################
+
+OPENRESOLV_VERSION = fe4e1ec4e2be2adfc1530ade94ebb30aa6f51540
+OPENRESOLV_SITE = $(call github,rsmarples,openresolv,$(OPENRESOLV_VERSION))
+OPENRESOLV_LICENSE = BSD-2-Clause
+OPENRESOLV_LICENSE_FILES = LICENSE
+
+define OPENRESOLV_CONFIGURE_CMDS
+ cd $(@D) && $(TARGET_CONFIGURE_OPTS) ./configure --prefix=/usr \
+ --sysconfdir=/etc
+endef
+
+define OPENRESOLV_BUILD_CMDS
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
+endef
+
+define OPENRESOLV_INSTALL_TARGET_CMDS
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install
+endef
+
+$(eval $(generic-package))