1
0

Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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))