void-packages/srcpkgs/tcsh/template

29 lines
857 B
Bash
Raw Normal View History

2014-07-26 17:15:43 +02:00
# Template file for 'tcsh'
pkgname=tcsh
2015-05-22 10:40:51 +02:00
version=6.19.00
revision=1
2014-07-26 17:15:43 +02:00
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"
2015-05-22 10:40:51 +02:00
checksum=12e271e0b89e4259d9d6e8d525322e77340e7244cfbd199a591e5f8146285c49
2014-07-26 17:15:43 +02:00
2015-05-17 16:11:06 +02:00
post_extract() {
sed -i '/define BSDWAIT/d' sh.proc.c
}
2015-05-22 13:23:47 +02:00
pre_build() {
make CC_FOR_GETHOST="${BUILD_CC}" CFLAGS="${BUILD_CFLAGS}" gethost
}
2014-07-26 17:15:43 +02:00
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
}