Merge pull request #4561 from wertarbyte/package_libnet

libnet-1.2.x: simplify build dep installation
This commit is contained in:
Jo-Philipp Wich
2017-07-11 16:59:54 +02:00
committed by GitHub
2 changed files with 7 additions and 11 deletions
-4
View File
@@ -30,10 +30,6 @@ define Package/netdiscover
URL:=https://sourceforge.net/projects/netdiscover
endef
CONFIGURE_VARS+= \
CPPFLAGS="$(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/lib/libnet-1.2.x/lib" \
LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib/libnet-1.2.x/lib"
define Package/netdiscover/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/netdiscover $(1)/usr/sbin/