# SliTaz package receipt.

PACKAGE="macchanger"
VERSION="1.5.0"
CATEGORY="network"
SHORT_DESC="A small utility to change your MAC address"
MAINTAINER="gokhlayeh@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.gnu.org"
WGET_URL="ftp://ftp.gnu.org/gnu/macchanger/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--prefix=/usr \
		--infodir=/usr/share/info \
		--mandir=/usr/share/man \
		$CONFIGURE_ARGS &&
	make && make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/share
	cp -a $_pkg/usr/bin $fs/usr
	cp -a $_pkg/usr/share/macchanger $fs/usr/share	
}