wok-current view tcsh/receipt @ rev 25474
openjdk-6-src: use find from findutils in place of busybox find
author | Hans-G?nter Theisgen |
---|---|
date | Thu Oct 13 16:42:57 2022 +0100 (2022-10-13) |
parents | 13ff266c0962 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="tcsh"
4 VERSION="6.24.01"
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 SUGGESTED="tcsh-lang"
15 DEPENDS="ncurses"
16 BUILD_DEPENDS="ncurses-dev"
17 #The following build dep will be necessary when glibc ups to 2.14.
18 #BUILD_DEPENDS="libtirpc"
20 current_version()
21 {
22 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/TCSH\(.*\).tar.*|\1|;s|_|.|g;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 export LDFLAGS="$LDFLAGS -ltinfo"
30 mkdir -p $DESTDIR/usr/bin
31 touch $DESTDIR/usr/bin/tcsh
33 ./configure $CONFIGURE_ARGS &&
34 make &&
35 make install &&
37 rm -f $DESTDIR/usr/bin/tcsh.old
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 # 6.24.01
44 # /usr/share/locale split off to tcsh-lang
46 cook_copy_folders bin
47 }