Browse Source

macchanger: import from old packages feed

- update to latest version (v1.7.0)
 - add license info
 - add myself as maintainer

Signed-off-by: Nicolas Thill <nico@openwrt.org>
lilik-openwrt-22.03
Nicolas Thill 10 years ago
parent
commit
548c85a5f9
1 changed files with 45 additions and 0 deletions
  1. +45
    -0
      utils/macchanger/Makefile

+ 45
- 0
utils/macchanger/Makefile View File

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

Loading…
Cancel
Save