# SliTaz package receipt.

PACKAGE="tacacs+"
VERSION="F4.0.4.18"
CATEGORY="misc"
SHORT_DESC="authentication server for cisco devices"
MAINTAINER="allan316@gmail.com"
DEPENDS="libwrap pam"
BUILD_DEPENDS="libwrap-dev"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.shrubbery.net"
WGET_URL="ftp://ftp.shrubbery.net/pub/tac_plus/$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
	cp -a $_pkg/usr/bin $fs/usr
}