sipgrep: move binary to /usr/bin
authorSebastian Kemper <sebastian_ml@gmx.net>
Sun, 21 Jan 2018 17:03:07 +0000 (18:03 +0100)
committerSebastian Kemper <sebastian_ml@gmx.net>
Sun, 21 Jan 2018 17:07:02 +0000 (18:07 +0100)
- added PKG_INSTALL
- upstream puts the binary into /usr/bin, now OpenWrt does the same

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
net/sipgrep/Makefile

index 38fe9ac783c08e31a7facfc86139081ad1a750e2..f204e361219bf97bd6f83db92e6fc7ee892b420e 100644 (file)
@@ -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))