# SliTaz package receipt.

PACKAGE="autoconf"
VERSION="2.71"
CATEGORY="development"
SHORT_DESC="Tool to automatically configure software source code."
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.gnu.org/software/autoconf/"
WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="m4 perl"
BUILD_DEPENDS="m4 perl"

cook_tmp_toolchain()
{
	cd $src
	./configure && make && make install
}

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure $CONFIGURE_ARGS &&
	make &&	make 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/autoconf $fs/usr/share
}