You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.0 KiB

  1. #
  2. # Copyright (C) 2016 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=arp-scan
  9. PKG_VERSION:=1.9.5
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://codeload.github.com/royhills/arp-scan/tar.gz/$(PKG_VERSION)?
  13. PKG_HASH:=aa9498af84158a315b7e0ea6c2cddfa746660ca3987cbe7e32c0c90f5382d9d2
  14. PKG_MAINTAINER:=Sergey Urushkin <urusha.v1.0@gmail.com>
  15. PKG_LICENSE:=GPL-3.0
  16. PKG_FIXUP:=autoreconf
  17. PKG_BUILD_PARALLEL:=1
  18. PKG_INSTALL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/arp-scan
  21. SECTION:=net
  22. CATEGORY:=Network
  23. TITLE:=ARP scanner
  24. DEPENDS:=+libpcap
  25. URL:=https://github.com/royhills/arp-scan
  26. PKG_MAINTAINER:=Sergey Urushkin <urusha.v1.0@gmail.com>
  27. endef
  28. define Package/arp-scan/description
  29. ARP scanner
  30. endef
  31. define Package/arp-scan/install
  32. $(INSTALL_DIR) $(1)/usr/bin
  33. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/arp-scan $(1)/usr/bin/
  34. endef
  35. $(eval $(call BuildPackage,arp-scan))