Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #
  2. # Copyright (C) 2006-2015 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:=macchanger
  9. PKG_VERSION:=1.7.0
  10. PKG_RELEASE:=2
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://github.com/alobbs/macchanger/releases/download/$(PKG_VERSION)/
  13. PKG_MD5SUM:=ca56f16142914337391dac91603eb332
  14. PKG_LICENSE:=GPL-2.0+
  15. PKG_LICENSE_FILES:=COPYING
  16. PKG_MAINTAINER:=Nicolas Thill <nico@openwrt.org>
  17. PKG_INSTALL:=1
  18. include $(INCLUDE_DIR)/package.mk
  19. define Package/macchanger
  20. SECTION:=utils
  21. CATEGORY:=Utilities
  22. TITLE:=utility for viewing/manipulating the MAC address
  23. URL:=https://github.com/alobbs/macchanger/
  24. endef
  25. define Package/macchanger/description
  26. This is a GNU/Linux utility for viewing/manipulating the MAC address
  27. of network interfaces.
  28. endef
  29. define Package/macchanger/install
  30. $(INSTALL_DIR) $(1)/usr/bin
  31. $(CP) $(PKG_INSTALL_DIR)/usr/bin/macchanger $(1)/usr/bin/
  32. $(INSTALL_DIR) $(1)/usr/share
  33. $(CP) $(PKG_INSTALL_DIR)/usr/share/macchanger $(1)/usr/share/
  34. endef
  35. $(eval $(call BuildPackage,macchanger))