wok-6.x view tcsh/receipt @ rev 24262
updated perl-text-template (1.58 -> 1.60)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 10:18:15 2022 +0100 (2022-01-02) |
parents | 5ea0ce1cecc0 |
children | ac8ca9758df1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tcsh"
4 VERSION="6.22.02"
5 CATEGORY="system-tools"
6 SHORT_DESC="Enhanced, compatible Berkeley UNIX C shell."
7 MAINTAINER="samuel_trassare@yahoo.com"
8 LICENSE="BSD"
9 WEB_SITE="https://www.tcsh.org/"
11 TARBALL="TCSH${VERSION//./_}.tar.gz"
12 WGET_URL="https://github.com/tcsh-org/$PACKAGE/archive/$TARBALL"
14 DEPENDS="ncurses"
15 BUILD_DEPENDS="ncurses-dev"
16 #The following build dep will be necessary when glibc ups to 2.14.
17 #BUILD_DEPENDS="libtirpc"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/TCSH\(.*\).tar.*|\1|;s|_|.|g;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 export LDFLAGS="$LDFLAGS -ltinfo"
29 mkdir -p $DESTDIR/usr/bin
30 touch $DESTDIR/usr/bin/tcsh
32 ./configure $CONFIGURE_ARGS &&
33 make &&
34 make install &&
36 rm -f $DESTDIR/usr/bin/tcsh.old
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/bin
43 mkdir -p $fs/usr/share
45 cp -a $install/usr/bin/tcsh $fs/usr/bin
46 cp -ar $install/usr/share/locale $fs/usr/share
47 }