# SliTaz package receipt.

PACKAGE="tcllib"
VERSION="1.12"
CATEGORY="development"
SHORT_DESC="Tcl-only library of standard routines for Tcl."
MAINTAINER="paul@slitaz.org"
DEPENDS="tcl"
BUILD_DEPENDS="tcl"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://sourceforge.net/projects/tcllib/"
WGET_URL="$SF_MIRROR/$PACKAGE/$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 DESTDIR=$PWD/_pkg install
}

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