opt/tcsh/Pkgfile

27 lines
680 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
2015-05-31 17:18:47 +02:00
version=6.19.00
release=2
2012-02-19 13:51:54 +01:00
source=(ftp://ftp.astron.com/pub/tcsh/$name-$version.tar.gz \
csh.login csh.logout csh.cshrc
$name-$version.patch)
2009-06-13 22:29:30 +02:00
build() {
2012-02-19 13:51:54 +01:00
cd $name-$version
# several fixes from git, https://github.com/tcsh-org/tcsh
# fix to remove compiler warning
patch -p1 -i $SRC/$name-$version.patch
./configure --prefix=/usr --bindir=/bin --disable-nls
2009-06-13 22:29:30 +02:00
make
make DESTDIR=$PKG install
2009-06-13 22:29:30 +02:00
install -d $PKG/etc
install -m 644 $SRC/csh.* $PKG/etc
}