wok-6.x annotate tcsh/receipt @ rev 23015

updated libcap, libcap-dev and libcap-pam (2.24 -> 2.33)
author Hans-G?nter Theisgen
date Tue Mar 03 11:11:03 2020 +0100 (2020-03-03)
parents aa1584474883
children fed661669638
rev   line source
samuel_trassare@11724 1 # SliTaz package receipt.
samuel_trassare@11724 2
samuel_trassare@11724 3 PACKAGE="tcsh"
Hans-G?nter@22015 4 VERSION="6.21.00"
samuel_trassare@11724 5 CATEGORY="system-tools"
samuel_trassare@11724 6 SHORT_DESC="Enhanced, compatible Berkeley UNIX C shell."
samuel_trassare@11724 7 MAINTAINER="samuel_trassare@yahoo.com"
pascal@15600 8 LICENSE="BSD"
Hans-G?nter@22015 9 WEB_SITE="https://www.tcsh.org/"
Hans-G?nter@22015 10
Hans-G?nter@22015 11 TARBALL="TCSH${VERSION//./_}.tar.gz"
Hans-G?nter@22015 12 WGET_URL="https://github.com/tcsh-org/$PACKAGE/archive/$TARBALL"
samuel_trassare@11724 13 #The following build dep will be necessary when glibc ups to 2.14.
samuel_trassare@11724 14 #BUILD_DEPENDS="libtirpc"
samuel_trassare@11724 15
pascal@17716 16 DEPENDS="ncurses"
pascal@17716 17 BUILD_DEPENDS="ncurses-dev"
pascal@17716 18
samuel_trassare@11724 19 # Rules to configure and make the package.
samuel_trassare@11724 20 compile_rules()
samuel_trassare@11724 21 {
pascal@17716 22 export LDFLAGS="$LDFLAGS -ltinfo"
pascal@15166 23 mkdir -p $DESTDIR/usr/bin
pascal@15166 24 touch $DESTDIR/usr/bin/tcsh
Hans-G?nter@22015 25
samuel_trassare@11724 26 ./configure $CONFIGURE_ARGS &&
samuel_trassare@11724 27 make &&
pascal@15166 28 make install &&
Hans-G?nter@22015 29
pascal@15166 30 rm -f $DESTDIR/usr/bin/tcsh.old
samuel_trassare@11724 31 }
samuel_trassare@11724 32
samuel_trassare@11724 33 # Rules to gen a SliTaz package suitable for Tazpkg.
samuel_trassare@11724 34 genpkg_rules()
samuel_trassare@11724 35 {
Hans-G?nter@22015 36 mkdir -p $fs/usr/bin
Hans-G?nter@22015 37 mkdir -p $fs/usr/share
Hans-G?nter@22015 38
Hans-G?nter@22015 39 cp -a $install/usr/bin/tcsh $fs/usr/bin
Hans-G?nter@22015 40 cp -ar $install/usr/share/locale $fs/usr/share
samuel_trassare@11724 41 }