wok-6.x view tcsh/receipt @ rev 21522
Up ipxe-pxe, ipxelinux (1.0.0-20190427), nagvis-flex (1.9.11)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 03 18:12:54 2019 +0200 (2019-05-03) |
parents | d9d7fcbb1ab3 |
children | ce493bead59a |
line source
1 # SliTaz package receipt.
3 PACKAGE="tcsh"
4 VERSION="6.18.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://github.com/tcsh-org/tcsh" # http://www.tsch.org/Welcome
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="ftp://ftp.astron.com/pub/$PACKAGE/$TARBALL"
12 #The following build dep will be necessary when glibc ups to 2.14.
13 #BUILD_DEPENDS="libtirpc"
15 DEPENDS="ncurses"
16 BUILD_DEPENDS="ncurses-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 export LDFLAGS="$LDFLAGS -ltinfo"
22 mkdir -p $DESTDIR/usr/bin
23 touch $DESTDIR/usr/bin/tcsh
24 ./configure $CONFIGURE_ARGS &&
25 make &&
26 make install &&
27 rm -f $DESTDIR/usr/bin/tcsh.old
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin \
34 $fs/usr/share
35 cp -a $install/usr/bin/tcsh $fs/usr/bin
36 cp -ar $install/usr/share/locale $fs/usr/share
37 }