28 lines
857 B
Bash
28 lines
857 B
Bash
# Template file for 'tcsh'
|
|
pkgname=tcsh
|
|
version=6.19.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=12e271e0b89e4259d9d6e8d525322e77340e7244cfbd199a591e5f8146285c49
|
|
|
|
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
|
|
}
|