# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include ${TOPDIR}/rules.mk

PKG_NAME:=		macchanger
PKG_VERSION:=		1.5.0
PKG_RELEASE:=		1
PKG_MD5SUM:=		79b7cdaeca3d8ebafa764c4b0dd03ab7
PKG_DESCR:=		utility for viewing/manipulating the MAC address
PKG_SECTION:=		admin
PKG_URL:=		http://www.alobbs.com/macchanger
PKG_SITES:=		${MASTER_SITE_GNU:=macchanger/}

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,MACCHANGER,macchanger,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

macchanger-install:
	${INSTALL_DIR} ${IDIR_MACCHANGER}/usr/bin ${IDIR_MACCHANGER}/usr/share
	${INSTALL_BIN} ${WRKINST}/usr/bin/macchanger ${IDIR_MACCHANGER}/usr/bin
	${CP} ${WRKINST}/usr/share/macchanger ${IDIR_MACCHANGER}/usr/share

include ${TOPDIR}/mk/pkg-bottom.mk
