macchanger: import from old packages feed
authorNicolas Thill <nico@openwrt.org>
Tue, 17 Feb 2015 05:42:35 +0000 (06:42 +0100)
committerNicolas Thill <nico@openwrt.org>
Tue, 17 Feb 2015 05:42:35 +0000 (06:42 +0100)
 - update to latest version (v1.7.0)
 - add license info
 - add myself as maintainer

Signed-off-by: Nicolas Thill <nico@openwrt.org>
utils/macchanger/Makefile [new file with mode: 0644]

diff --git a/utils/macchanger/Makefile b/utils/macchanger/Makefile
new file mode 100644 (file)
index 0000000..667f1d1
--- /dev/null
@@ -0,0 +1,45 @@
+#
+# Copyright (C) 2006-2015 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=macchanger
+PKG_VERSION:=1.7.0
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=https://github.com/alobbs/macchanger/releases/download/$(PKG_VERSION)/
+PKG_MD5SUM:=ca56f16142914337391dac91603eb332
+
+PKG_LICENSE:=GPL-2.0+
+PKG_LICENSE_FILES:=COPYING
+PKG_MAINTAINER:=Nicolas Thill <nico@openwrt.org>
+
+PKG_INSTALL:=1
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/macchanger
+  SECTION:=utils
+  CATEGORY:=Utilities
+  TITLE:=utility for viewing/manipulating the MAC address
+  URL:=https://github.com/alobbs/macchanger/
+endef
+
+define Package/macchanger/description
+       This is a GNU/Linux utility for viewing/manipulating the MAC address
+       of network interfaces.
+endef
+
+define Package/macchanger/install
+       $(INSTALL_DIR) $(1)/usr/bin
+       $(CP) $(PKG_INSTALL_DIR)/usr/bin/macchanger $(1)/usr/bin/
+       $(INSTALL_DIR) $(1)/usr/share
+       $(CP) $(PKG_INSTALL_DIR)/usr/share/macchanger $(1)/usr/share/
+endef
+
+$(eval $(call BuildPackage,macchanger))