wok-next view tcsh/receipt @ rev 21718

Up dropbear (2020.80)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 29 08:19:44 2020 +0000 (2020-07-29)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="tcsh"
4 VERSION="6.18.01"
5 CATEGORY="system-tools"
6 SHORT_DESC="Enhanced, compatible Berkeley UNIX C shell"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/tcsh-org/tcsh" # http://www.tsch.org/Welcome
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="ftp://ftp.astron.com/pub/$PACKAGE/$TARBALL"
14 #The following build dep will be necessary when glibc up to 2.14: libtirpc
15 BUILD_DEPENDS="ncurses-dev"
17 compile_rules() {
18 sed -i 's/(__ANDROID__)/& \&\& !defined(__GLIBC__)/' sh.proc.c
19 mkdir -p $install/usr/bin
20 touch $install/usr/bin/tcsh
22 ./configure $CONFIGURE_ARGS &&
23 make &&
24 make install || return 1
26 rm -f $install/usr/bin/tcsh.old
27 }
29 genpkg_rules() {
30 copy @std
31 DEPENDS="ncurses"
32 }