opt/tcsh/Pkgfile

27 lines
621 B
Plaintext
Raw Normal View History

2009-06-13 22:29:30 +02:00
# 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
2019-05-09 16:56:17 +02:00
version=6.21.00
2016-11-25 17:49:06 +01:00
release=1
2012-02-19 13:51:54 +01:00
source=(ftp://ftp.astron.com/pub/tcsh/$name-$version.tar.gz \
2016-11-25 17:49:06 +01:00
csh.login csh.logout csh.cshrc)
2009-06-13 22:29:30 +02:00
build() {
2012-02-19 13:51:54 +01:00
cd $name-$version
2016-11-25 17:49:06 +01:00
# fix compiler warnings
sed -ri 's/(_BSD|_SVID)_SOURCE/_DEFAULT_SOURCE/' config/linux
2019-05-09 16:56:17 +02:00
./configure --prefix=/usr --bindir=/bin
2009-06-13 22:29:30 +02:00
make
make DESTDIR=$PKG install
2019-05-09 16:56:17 +02:00
rm -r $PKG/usr/share/locale
2009-06-13 22:29:30 +02:00
install -d $PKG/etc
install -m 644 $SRC/csh.* $PKG/etc
}