29 lines
857 B
Bash
29 lines
857 B
Bash
# Template file for 'tcsh'
|
|
pkgname=tcsh
|
|
version=6.20.00
|
|
revision=1
|
|
build_style=gnu-configure
|
|
register_shell="/bin/tcsh /bin/csh"
|
|
conf_files="/etc/csh.login /etc/csh.cshrc"
|
|
makedepends="ncurses-devel"
|
|
short_desc="Enhanced but compatible version of the Berkeley C shell"
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
license="BSD"
|
|
homepage="http://www.tcsh.org/"
|
|
distfiles="ftp://ftp.astron.com/pub/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=b89de7064ab54dac454a266cfe5d8bf66940cb5ed048d0c30674ea62e7ecef9d
|
|
|
|
post_extract() {
|
|
sed -i '/define BSDWAIT/d' sh.proc.c
|
|
}
|
|
pre_build() {
|
|
make CC_FOR_GETHOST="${BUILD_CC}" CFLAGS="${BUILD_CFLAGS}" gethost
|
|
}
|
|
post_install() {
|
|
vconf ${FILESDIR}/csh.login
|
|
vconf ${FILESDIR}/csh.cshrc
|
|
ln -s tcsh ${DESTDIR}/usr/bin/csh
|
|
ln -s tcsh.1 ${DESTDIR}/usr/share/man/man1/csh.1
|
|
vlicense Copyright LICENSE
|
|
}
|