2 # Copyright (C) 2011 Nuno Goncalves <nunojpg@gmail.com>
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR)/rules.mk
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14 PKG_SOURCE_URL:=ftp://ftp.astron.com/pub/tcsh/
15 PKG_MD5SUM:=c47de903e3d52f6824c8dd0c91eeb477
17 include $(INCLUDE_DIR)/package.mk
22 TITLE:=Enhanced Berkeley UNIX C shell
24 URL:=http://www.tcsh.org/
25 MAINTAINER:=Nuno Goncalves <nunojpg@gmail.com>
28 define Package/tcsh/description
29 Tcsh is an enhanced, but completely compatible
30 version of the Berkeley UNIX C shell (csh). It
31 is a command language interpreter usable both
32 as an interactive login shell and a shell
33 script command processor. It includes a
34 command-line editor, programmable word
35 completion, spelling correction, a history
36 mechanism, job control and a C-like syntax.
39 define Package/tcsh/postinst
41 grep tcsh $${IPKG_INSTROOT}/etc/shells || \
42 echo "/bin/tcsh" >> $${IPKG_INSTROOT}/etc/shells
43 echo "/bin/csh" >> $${IPKG_INSTROOT}/etc/shells
46 define Package/tcsh/install
47 $(INSTALL_DIR) $(1)/bin
48 $(INSTALL_BIN) $(PKG_BUILD_DIR)/tcsh $(1)/bin/
49 ln -sf tcsh $(1)/bin/csh
52 $(eval $(call BuildPackage,tcsh))