Browse Source

Merge pull request #4484 from pprindeville/net-snmp-add-config-symlink

net-snmp: add symlink for net-snmp-config into usr/bin
lilik-openwrt-22.03
Stijn Tintel 7 years ago
committed by GitHub
parent
commit
4aa412183e
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      net/net-snmp/Makefile

+ 1
- 0
net/net-snmp/Makefile View File

@ -209,6 +209,7 @@ define Build/InstallDev
$(INSTALL_DIR) $(2)/bin $(INSTALL_DIR) $(2)/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/net-snmp-config $(2)/bin/ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/net-snmp-config $(2)/bin/
$(SED) 's,=/usr,=$(STAGING_DIR)/usr,g' $(2)/bin/net-snmp-config $(SED) 's,=/usr,=$(STAGING_DIR)/usr,g' $(2)/bin/net-snmp-config
$(LN) $(STAGING_DIR)/host/bin/net-snmp-config $(STAGING_DIR)/usr/bin/
$(INSTALL_DIR) $(1)/usr/include $(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/net-snmp $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/include/net-snmp $(1)/usr/include/


Loading…
Cancel
Save