42 lines
1020 B
Makefile
42 lines
1020 B
Makefile
|
# Copyright (C) 2006 OpenWrt.org
|
||
|
#
|
||
|
# This is free software, licensed under the GNU General Public License v2.
|
||
|
# See /LICENSE for more information.
|
||
|
#
|
||
|
# $Id$
|
||
|
|
||
|
include $(TOPDIR)/rules.mk
|
||
|
|
||
|
PKG_NAME:=macchanger
|
||
|
PKG_VERSION:=1.5.0
|
||
|
PKG_RELEASE:=1
|
||
|
PKG_MD5SUM:=79b7cdaeca3d8ebafa764c4b0dd03ab7
|
||
|
PKG_SOURCE_URL:=@GNU/macchanger
|
||
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||
|
PKG_CAT:=zcat
|
||
|
|
||
|
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
||
|
|
||
|
include $(INCLUDE_DIR)/package.mk
|
||
|
|
||
|
define Package/macchanger
|
||
|
SECTION:=utils
|
||
|
CATEGORY:=Utilities
|
||
|
TITLE:=utility for viewing/manipulating the MAC address
|
||
|
DESCRIPTION:=This is a GNU/Linux utility for viewing/manipulating the MAC address\\\
|
||
|
of network interfaces.
|
||
|
URL:=http://www.alobbs.com/macchanger
|
||
|
endef
|
||
|
|
||
|
define Build/Compile
|
||
|
$(MAKE) DESTDIR=$(PKG_INSTALL_DIR) -C $(PKG_BUILD_DIR) install
|
||
|
endef
|
||
|
|
||
|
define Package/macchanger/install
|
||
|
mkdir -p $(1)
|
||
|
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
||
|
endef
|
||
|
|
||
|
$(eval $(call BuildPackage,macchanger))
|