25 lines
602 B
Plaintext
25 lines
602 B
Plaintext
# Description: Enhanced version of the Berkeley C shell (csh)
|
|
# URL: http://www.tcsh.org
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
# Depends on: ncurses
|
|
|
|
name=tcsh
|
|
version=6.20.00
|
|
release=1
|
|
source=(ftp://ftp.astron.com/pub/tcsh/$name-$version.tar.gz \
|
|
csh.login csh.logout csh.cshrc)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
# fix compiler warnings
|
|
sed -ri 's/(_BSD|_SVID)_SOURCE/_DEFAULT_SOURCE/' config/linux
|
|
|
|
./configure --prefix=/usr --bindir=/bin --disable-nls
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
install -d $PKG/etc
|
|
install -m 644 $SRC/csh.* $PKG/etc
|
|
}
|