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.

48 lines
1.1 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-40-g69b2f70
  10. PKG_RELEASE:=1
  11. PKG_LICENSE:=GPL-3.0
  12. PKG_MAINTAINER:=Sergey Urushkin <urusha.v1.0@gmail.com>
  13. PKG_SOURCE_PROTO:=git
  14. PKG_SOURCE_URL:=https://github.com/royhills/arp-scan.git
  15. PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
  16. PKG_SOURCE_VERSION:=69b2f70588565385f3a61d9b1f100f01747cd5e1
  17. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  18. PKG_MIRROR_HASH:=1cfb670ddd1763dbf5c712aaefe4d6c4f825011969e36484e6c442794324f721
  19. PKG_FIXUP:=autoreconf
  20. PKG_BUILD_PARALLEL:=1
  21. PKG_INSTALL:=1
  22. include $(INCLUDE_DIR)/package.mk
  23. define Package/arp-scan
  24. SECTION:=net
  25. CATEGORY:=Network
  26. TITLE:=ARP scanner
  27. DEPENDS:=+libpcap
  28. URL:=https://github.com/royhills/arp-scan
  29. PKG_MAINTAINER:=Sergey Urushkin <urusha.v1.0@gmail.com>
  30. endef
  31. define Package/arp-scan/description
  32. ARP scanner
  33. endef
  34. define Package/arp-scan/install
  35. $(INSTALL_DIR) $(1)/usr/bin
  36. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/arp-scan $(1)/usr/bin/
  37. endef
  38. $(eval $(call BuildPackage,arp-scan))