packages/utils/bmx7-dnsupdate/Makefile
Paul Spooren ad05349db6 bmx7-dnsupdate: wait 10 secs if bmx7 ins't running
If bmx7 isn't running just yet the folder
`/var/run/bmx7/json/originators` is missing and so the while loop runs
non stop. Now the loop sleeps for 10 seconds if inotifywait fails.

Signed-off-by: Paul Spooren <spooren@informatik.uni-leipzig.de>
2018-04-21 21:24:06 +09:00

27 lines
497 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=bmx7-dnsupdate
PKG_VERSION:=0.1
PKG_RELEASE:=2
include $(INCLUDE_DIR)/package.mk
define Package/bmx7-dnsupdate
SECTION:=utils
CATEGORY:=Utilities
TITLE:=bmx7-dnsupdate
MAINTAINER:=Paul Spooren <spooren@informatik.uni-leipzig.de>
DEPENDS:=+bmx7 +bmx7-json inotifywait jshn
endef
define Build/Compile
endef
define Build/Configure
endef
define Package/bmx7-dnsupdate/install
$(CP) files/* $(1)/
endef
$(eval $(call BuildPackage,bmx7-dnsupdate))