summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Kemper2018-01-21 17:03:07 +0000
committerSebastian Kemper2018-01-21 17:07:02 +0000
commit20aa96f16b0bf7154600e74d7e0590c91b75c1fb (patch)
treec225dcfeac26ce227a6915d398714c9fe8213fb5
parentadc9777fec31a883584962153d99e3959610ebf6 (diff)
downloadtelephony-20aa96f16b0bf7154600e74d7e0590c91b75c1fb.tar.gz
sipgrep: move binary to /usr/bin
- added PKG_INSTALL - upstream puts the binary into /usr/bin, now OpenWrt does the same Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
-rw-r--r--net/sipgrep/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/sipgrep/Makefile b/net/sipgrep/Makefile
index 38fe9ac..f204e36 100644
--- a/net/sipgrep/Makefile
+++ b/net/sipgrep/Makefile
@@ -24,6 +24,8 @@ PKG_MIRROR_HASH:=a9131ae443bdce760e3dadd83dcf115d51a894381fc18461cbe62522618418f
PKG_FIXUP:=autoreconf
+PKG_INSTALL:=1
+
include $(INCLUDE_DIR)/package.mk
define Package/sipgrep
@@ -42,8 +44,8 @@ CONFIGURE_ARGS += \
--enable-ncurses
define Package/sipgrep/install
- $(INSTALL_DIR) $(1)/usr/sbin
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/sipgrep $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/sipgrep $(1)/usr/bin
endef
$(eval $(call BuildPackage,sipgrep))