aboutsummaryrefslogtreecommitdiff
path: root/net/tgt/Makefile
diff options
context:
space:
mode:
authorMaxim Storchak <m.storchak@gmail.com>2019-03-15 17:07:49 +0200
committerMaxim Storchak <m.storchak@gmail.com>2019-03-15 17:07:49 +0200
commitc63a93a25c2617622140f7f9c84f45b012bd7cbe (patch)
tree2bd3a2a56cb00533aecf283b2692d14806fc8864 /net/tgt/Makefile
parent6c5f68ad14d6c76b00dd082cef671bc9087fb543 (diff)
tgt: fix packaging of config and initscript
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
Diffstat (limited to 'net/tgt/Makefile')
-rw-r--r--net/tgt/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/tgt/Makefile b/net/tgt/Makefile
index 3f55bcdad..97f470372 100644
--- a/net/tgt/Makefile
+++ b/net/tgt/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=tgt
PKG_VERSION:=1.0.75
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/fujita/tgt/tar.gz/v$(PKG_VERSION)?
@@ -48,8 +48,8 @@ endef
define Package/tgt/install
$(INSTALL_DIR) $(1)/etc/config $(1)/etc/init.d $(1)/usr/sbin
- $(INSTALL_DATA) ./files/tgt.config $(1)/etc/config/
- $(INSTALL_BIN) ./files/tgt.init $(1)/etc/init.d/
+ $(INSTALL_DATA) ./files/tgt.config $(1)/etc/config/tgt
+ $(INSTALL_BIN) ./files/tgt.init $(1)/etc/init.d/tgt
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/tgtd $(PKG_INSTALL_DIR)/usr/sbin/tgtadm $(1)/usr/sbin/
endef