summaryrefslogtreecommitdiff
path: root/package/macchanger/Makefile
blob: c02eb96d7627919eed2b80740233cf98cd2bb1f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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/}

DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz

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