SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "tcsh"

# SliTaz package receipt.

PACKAGE="tcsh"
VERSION="6.24.01"
CATEGORY="system-tools"
SHORT_DESC="Enhanced, compatible Berkeley UNIX C shell."
MAINTAINER="samuel_trassare@yahoo.com"
LICENSE="BSD"
WEB_SITE="https://www.tcsh.org/"

TARBALL="TCSH${VERSION//./_}.tar.gz"
WGET_URL="https://github.com/tcsh-org/$PACKAGE/archive/$TARBALL"

SUGGESTED="tcsh-lang"
DEPENDS="ncurses"
BUILD_DEPENDS="ncurses-dev"
#The following build dep will be necessary when glibc ups to 2.14.
#BUILD_DEPENDS="libtirpc"

current_version()
{
    wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/TCSH\(.*\).tar.*|\1|;s|_|.|g;q'
}

# Rules to configure and make the package.
compile_rules()
{
    export LDFLAGS="$LDFLAGS -ltinfo"
    mkdir -p $DESTDIR/usr/bin
    touch $DESTDIR/usr/bin/tcsh

    ./configure $CONFIGURE_ARGS && 
    make && 
    make install &&

    rm -f    $DESTDIR/usr/bin/tcsh.old
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    # 6.24.01
    # /usr/share/locale    split off to tcsh-lang

    cook_copy_folders    bin
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)