1
0
Fork 0
src/soft/macchanger

20 lines
415 B
Bash

#!/bin/sh
ARCH=all
DESCRIPTION="Utility that changes apparent MAC addresses."
LICENSE=gpl30
NAME=macchanger
PROVIDES=macchanger
REL=0
UPSTREAM=https://github.com/alobbs/macchanger.git
VERSION=nightly
. soft
# depends on
# texinfo
sh -c 'cd "$SRC"; ./autogen.sh --prefix="$PREFIX"'
# https://github.com/alobbs/macchanger/issues/14
sed -i .orig -e 's/caddr_t/void */' "$SRC"/src/netinfo.c
$GMAKE -C "$SRC" install