wok-next annotate tcsh/receipt @ rev 21271

up openssl10: 1.0.2o to 1.0.2t -> soon EOL
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Dec 07 12:21:21 2019 +0000 (2019-12-07)
parents d5aab818505e
children
rev   line source
al@21020 1 # SliTaz package receipt v2.
samuel_trassare@11724 2
samuel_trassare@11724 3 PACKAGE="tcsh"
pascal@11726 4 VERSION="6.18.01"
samuel_trassare@11724 5 CATEGORY="system-tools"
al@21020 6 SHORT_DESC="Enhanced, compatible Berkeley UNIX C shell"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15600 8 LICENSE="BSD"
pascal@21146 9 WEB_SITE="https://github.com/tcsh-org/tcsh" # http://www.tsch.org/Welcome
al@21020 10
samuel_trassare@11724 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
samuel_trassare@11724 12 WGET_URL="ftp://ftp.astron.com/pub/$PACKAGE/$TARBALL"
samuel_trassare@11724 13
al@21020 14 #The following build dep will be necessary when glibc up to 2.14: libtirpc
pascal@17716 15 BUILD_DEPENDS="ncurses-dev"
pascal@17716 16
al@21020 17 compile_rules() {
pascal@19705 18 sed -i 's/(__ANDROID__)/& \&\& !defined(__GLIBC__)/' sh.proc.c
al@21020 19 mkdir -p $install/usr/bin
al@21020 20 touch $install/usr/bin/tcsh
al@21020 21
al@21020 22 ./configure $CONFIGURE_ARGS &&
al@21020 23 make &&
al@21020 24 make install || return 1
al@21020 25
al@21020 26 rm -f $install/usr/bin/tcsh.old
samuel_trassare@11724 27 }
samuel_trassare@11724 28
al@21020 29 genpkg_rules() {
al@21020 30 copy @std
al@21020 31 DEPENDS="ncurses"
samuel_trassare@11724 32 }