wok-6.x view tcsh/receipt @ rev 23888
get-LibreOffice: default version set to 6.2.8.2
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 24 10:20:46 2020 +0100 (2020-07-24) |
parents | ce493bead59a |
children | 5ea0ce1cecc0 |
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 # Rules to configure and make the package.
20 compile_rules()
21 {
22 export LDFLAGS="$LDFLAGS -ltinfo"
23 mkdir -p $DESTDIR/usr/bin
24 touch $DESTDIR/usr/bin/tcsh
26 ./configure $CONFIGURE_ARGS &&
27 make &&
28 make install &&
30 rm -f $DESTDIR/usr/bin/tcsh.old
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin
37 mkdir -p $fs/usr/share
39 cp -a $install/usr/bin/tcsh $fs/usr/bin
40 cp -ar $install/usr/share/locale $fs/usr/share
41 }