opentracker: do not rewrite conf files

Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
This commit is contained in:
Alexander Ryzhov 2016-12-07 16:09:53 +03:00
parent ba5695c1b4
commit 4b1f9ad9cf
1 changed files with 9 additions and 1 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=opentracker
PKG_VERSION:=20151211
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_REV:=ba25d2b2a84a31eac2956b71cb12b4b0748b35f5
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
PKG_LICENSE:=Beerware
@ -76,6 +76,14 @@ ifeq ($(BUILD_VARIANT),ipv6)
MAKE_FLAGS += FEATURES="-DWANT_V6"
endif
define Package/opentracker/conffiles
/etc/opentracker.conf
endef
define Package/opentracker6/conffiles
/etc/opentracker6.conf
endef
define Package/opentracker/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/opentracker $(1)/usr/bin