#Maintainer: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=macchanger
pkgver=1.5.0
pkgrel=1gv
arch=i486
source=(ftp://ftp.gnu.org/gnu/macchanger/macchanger-$pkgver.tar.gz)
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://www.alobbs.com/macchanger

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"macchanger - vie/manipulate the MAC address of network interfaces"
"GNU MAC Changer is a GNU/Linux utility for viewing/manipulating the"
"MAC address of network interfaces. It includes the following features:"
" * Set specific MAC address of a network interface"
" * Set the MAC randomly"
" * Set a MAC of another vendor"
" * Set another MAC of the same vendor"
" * Set a MAC of the same kind (eg: wireless card)"
" * Display a vendor MAC list (today, 6800 items) to choose from"

)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc
	make || return 1
	make install DESTDIR=$startdir/pkg
}