# SliTaz package receipt.

PACKAGE="tcsh"
VERSION="6.18.01"
CATEGORY="system-tools"
SHORT_DESC="Enhanced, compatible Berkeley UNIX C shell."
MAINTAINER="samuel_trassare@yahoo.com"
WEB_SITE="http://www.tsch.org/Welcome"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="ftp://ftp.astron.com/pub/$PACKAGE/$TARBALL"
#The following build dep will be necessary when glibc ups to 2.14.
#BUILD_DEPENDS="libtirpc"

# Rules to configure and make the package.
compile_rules()
{
	./configure $CONFIGURE_ARGS && 
	make && 
	make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/bin \
		$fs/usr/share
		
	cp -a $install/usr/bin/tcsh $fs/usr/bin
	
	cp -ar $install/usr/share/locale $fs/usr/share
}