|
@ -1,12 +1,12 @@ |
|
|
include $(TOPDIR)/rules.mk |
|
|
include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=overture |
|
|
PKG_NAME:=overture |
|
|
PKG_VERSION:=1.6.1 |
|
|
|
|
|
|
|
|
PKG_VERSION:=1.7 |
|
|
PKG_RELEASE:=1 |
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
PKG_SOURCE_URL:=https://codeload.github.com/shawn1m/overture/tar.gz/v${PKG_VERSION}? |
|
|
PKG_SOURCE_URL:=https://codeload.github.com/shawn1m/overture/tar.gz/v${PKG_VERSION}? |
|
|
PKG_HASH:=916ddbc4e8ee3cd008e281ba768c1502ad7b3ad71073f5e587b187e371eedd2b |
|
|
|
|
|
|
|
|
PKG_HASH:=d3912fe53d2f6a60d20767a8dc5041333f8b5386b7d23d959b4de872d12b5024 |
|
|
|
|
|
|
|
|
PKG_MAINTAINER:=Richard Yu <yurichard3839@gmail.com> |
|
|
PKG_MAINTAINER:=Richard Yu <yurichard3839@gmail.com> |
|
|
PKG_LICENSE:=MIT |
|
|
PKG_LICENSE:=MIT |
|
@ -46,8 +46,8 @@ define Package/overture/install |
|
|
$(INSTALL_DIR) $(1)/usr/bin |
|
|
$(INSTALL_DIR) $(1)/usr/bin |
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/main $(1)/usr/bin/overture |
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/main $(1)/usr/bin/overture |
|
|
$(INSTALL_DIR) $(1)/etc/overture |
|
|
$(INSTALL_DIR) $(1)/etc/overture |
|
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/config.sample.json $(1)/etc/overture/config.json |
|
|
|
|
|
$(SED) 's@"\.\(/[^"]\{1,\}_sample\)"@"/etc/overture\1"@g;s/":53"/"127.0.0.3:53"/' $(1)/etc/overture/config.json |
|
|
|
|
|
|
|
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/config.sample.yml $(1)/etc/overture/config.yml |
|
|
|
|
|
$(SED) 's@\.\(/[^[:space:]]\{1,\}_sample\)@/etc/overture\1@g;s/^\(bindAddress:[[:space:]]\{0,\}\)[^[:space:]]\{0,\}$$$$/\1127.0.0.3:53/' $(1)/etc/overture/config.yml |
|
|
$(INSTALL_DATA) ./files/*_sample $(1)/etc/overture |
|
|
$(INSTALL_DATA) ./files/*_sample $(1)/etc/overture |
|
|
$(INSTALL_DIR) $(1)/etc/init.d |
|
|
$(INSTALL_DIR) $(1)/etc/init.d |
|
|
$(INSTALL_BIN) ./files/overture.init $(1)/etc/init.d/overture |
|
|
$(INSTALL_BIN) ./files/overture.init $(1)/etc/init.d/overture |
|
|