# SliTaz package receipt.

PACKAGE="texinfo"
VERSION="6.7"
CATEGORY="development"
SHORT_DESC="GNU documentation tools."
MAINTAINER="rcx@zoominternet.net"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.gnu.org/software/texinfo/"
WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
TAGS="documentation"

DEPENDS="ncurses"
BUILD_DEPENDS="ncurses"

# Rules to compile & install the temporary toolchain by Tazwok.
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/$PACKAGE $fs/usr/share
}