2018-08-14 19:33:48 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# openresolv
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-09-14 23:00:35 +02:00
|
|
|
OPENRESOLV_VERSION = 3.12.0
|
2019-10-15 09:20:33 +02:00
|
|
|
OPENRESOLV_SITE = $(call github,rsmarples,openresolv,openresolv-$(OPENRESOLV_VERSION))
|
2018-08-14 19:33:48 +02:00
|
|
|
OPENRESOLV_LICENSE = BSD-2-Clause
|
|
|
|
OPENRESOLV_LICENSE_FILES = LICENSE
|
2021-04-20 22:11:36 +02:00
|
|
|
OPENRESOLV_CPE_ID_VENDOR = openresolv_project
|
2018-08-14 19:33:48 +02:00
|
|
|
|
|
|
|
define OPENRESOLV_CONFIGURE_CMDS
|
2019-01-17 16:05:42 +01:00
|
|
|
cd $(@D) && $(TARGET_CONFIGURE_OPTS) ./configure --sysconfdir=/etc
|
2018-08-14 19:33:48 +02:00
|
|
|
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))
|