# SliTaz package receipt.

PACKAGE="isapnptools"
VERSION="1.27"
CATEGORY="system-tools"
SHORT_DESC="ISA Plug-And-Play configuration."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tgz"
WEB_SITE="http://www.roestock.demon.co.uk/isapnptools/"
WGET_URL="ftp://metalab.unc.edu/pub/Linux/system/hardware/$TARBALL"

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

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	# move /usr/sbin/* /sbin to use pnptools *before* mounting /usr
	cp -a $_pkg/usr/sbin $fs
}