@ -7,32 +7,36 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := tcsh
PKG_VERSION := 6.20.00
PKG_RELEASE := 2
PKG_VERSION := 6.22.02
PKG_RELEASE := 1
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := \
http://ftp.funet.fi/pub/mirrors/ftp. astron.com/pub/tcsh/ \
http://ftp.funet.fi/pub/mirrors/ftp. astron.com/pub/tcsh/old/ \
ftp://ftp.astron.com/pub/tcsh/ \
ftp:/ /ftp.astron.com/pub/tcsh/old
PKG_HASH := b89de7064ab54dac454a266cfe5d8bf66940cb5ed048d0c30674ea62e7ecef9d
https ://astron.com/pub/tcsh/ \
https ://astron.com/pub/tcsh/old \
https://ftp.funet.fi/pub/mirrors/ftp.astron.com/pub/tcsh \
https://ftp.funet.fi/pub/mirrors /ftp.astron.com/pub/tcsh/old
PKG_HASH := ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b
PKG_MAINTAINER := Nuno Goncalves <nunojpg@gmail.com>
PKG_LICENSE := BSD-3-Clause
PKG_LICENSE_FILES := Copyright
PKG_CPE_ID := cpe:/a:tcsh:tcsh
PKG_MAINTAINER := Nuno Goncalves <nunojpg@gmail.com>
PKG_FIXUP := autoreconf
PKG_INSTALL := 1
PKG_BUILD_PARALLEL := 1
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / n l s . m k
d e f i n e P a c k a g e / t c s h
SECTION:= utils
CATEGORY:= Utilities
SUBMENU:= Shells
TITLE:= Enhanced Berkeley UNIX C shell
DEPENDS:= +libncurses
URL:= http://www.tcsh.org/
DEPENDS:= +libncurses $( ICONV_DEPENDS)
URL:= https ://www.tcsh.org/
e n d e f
d e f i n e P a c k a g e / t c s h / d e s c r i p t i o n
@ -48,14 +52,15 @@ endef
d e f i n e P a c k a g e / t c s h / p o s t i n s t
#!/bin/sh
g r e p t c s h $$ { I P K G _ I N S T R O O T } / e t c / s h e l l s | | \
echo "/bin/tcsh" >> $$ { IPKG_INSTROOT} /etc/shells
echo "/bin/csh" >> $$ { IPKG_INSTROOT} /etc/shells
g r e p t c s h $$ { I P K G _ I N S T R O O T } / e t c / s h e l l s | | { \
echo "/bin/tcsh"
echo "/bin/csh"
} > > $$ { I P K G _ I N S T R O O T } / e t c / s h e l l s
e n d e f
d e f i n e P a c k a g e / t c s h / i n s t a l l
$( INSTALL_DIR) $( 1) /bin
$( INSTALL_BIN) $( PKG_BUILD_DIR) /tcsh $( 1) /bin/
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/bin /tcsh $( 1) /bin/
ln -sf tcsh $( 1) /bin/csh
e n d e f