wok-6.x view tcsh/receipt @ rev 23835
Up axel (2.17.8), bluez (5.54), cpio (2.13), dnsmasq (2.81), libssh (0.9.4), unbound (1.10.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 01 09:34:18 2020 +0000 (2020-06-01) |
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 }