1
0

Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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_FIXUP:=autoreconf
  19. PKG_BUILD_PARALLEL:=1
  20. PKG_INSTALL:=1
  21. include $(INCLUDE_DIR)/package.mk
  22. define Package/arp-scan
  23. SECTION:=net
  24. CATEGORY:=Network
  25. TITLE:=ARP scanner
  26. DEPENDS:=+libpcap
  27. URL:=https://github.com/royhills/arp-scan
  28. PKG_MAINTAINER:=Sergey Urushkin <urusha.v1.0@gmail.com>
  29. endef
  30. define Package/arp-scan/description
  31. ARP scanner
  32. endef
  33. define Package/arp-scan/install
  34. $(INSTALL_DIR) $(1)/usr/bin
  35. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/arp-scan $(1)/usr/bin/
  36. endef
  37. $(eval $(call BuildPackage,arp-scan))