wok-6.x view tcsh/receipt @ rev 23853

Up alsa-utils (1.2.2)
author Richard Dunbar <mojo@slitaz.org>
date Mon Jun 15 17:30:36 2020 -0400 (2020-06-15)
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 }