wok view tcsh/receipt @ rev 22876

web-applications: localize wikipedia
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 21 18:28:59 2020 +0100 (2020-02-21)
parents aa1584474883
children fed661669638
line source
1 # SliTaz package receipt.
3 PACKAGE="tcsh"
4 VERSION="6.21.00"
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"
13 #The following build dep will be necessary when glibc ups to 2.14.
14 #BUILD_DEPENDS="libtirpc"
16 DEPENDS="ncurses"
17 BUILD_DEPENDS="ncurses-dev"
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 }