2 # Copyright (C) 2011-2014 OpenWrt.org
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
:=6eed09dbd4223ab5b6955378450d228a
16 PKG_LICENSE
:=BSD-4-Clause-UC
17 PKG_LICENSE_FILES
:=Copyright
19 PKG_MAINTAINER
:=Nuno Goncalves
<nunojpg@gmail.com
>
21 include $(INCLUDE_DIR
)/package.mk
26 TITLE
:=Enhanced Berkeley UNIX C
shell
28 URL
:=http
://www.tcsh.org
/
31 define Package
/tcsh
/description
32 Tcsh is an enhanced
, but completely compatible
33 version of the Berkeley UNIX C
shell (csh
). It
34 is a command language interpreter usable both
35 as an interactive login
shell and a
shell
36 script command processor. It includes a
37 command-line editor
, programmable
word
38 completion
, spelling correction
, a history
39 mechanism
, job control and a C-like syntax.
42 define Package
/tcsh
/postinst
44 grep tcsh
$${IPKG_INSTROOT}/etc
/shells || \
45 echo
"/bin/tcsh" >> $${IPKG_INSTROOT}/etc
/shells
46 echo
"/bin/csh" >> $${IPKG_INSTROOT}/etc
/shells
49 define Package
/tcsh
/install
50 $(INSTALL_DIR
) $(1)/bin
51 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/tcsh
$(1)/bin
/
52 ln
-sf tcsh
$(1)/bin
/csh
55 $(eval
$(call BuildPackage
,tcsh
))