wok annotate tcsh/receipt @ rev 20058

Up slitaz-base-files (331), slitaz-boot-scripts (443).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Sep 12 02:02:47 2017 +0300 (2017-09-12)
parents de49f29b101e
children aa1584474883
rev   line source
samuel_trassare@11724 1 # SliTaz package receipt.
samuel_trassare@11724 2
samuel_trassare@11724 3 PACKAGE="tcsh"
pascal@11726 4 VERSION="6.18.01"
samuel_trassare@11724 5 CATEGORY="system-tools"
samuel_trassare@11724 6 SHORT_DESC="Enhanced, compatible Berkeley UNIX C shell."
samuel_trassare@11724 7 MAINTAINER="samuel_trassare@yahoo.com"
pascal@15600 8 LICENSE="BSD"
samuel_trassare@11724 9 WEB_SITE="http://www.tsch.org/Welcome"
samuel_trassare@11724 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
samuel_trassare@11724 11 WGET_URL="ftp://ftp.astron.com/pub/$PACKAGE/$TARBALL"
samuel_trassare@11724 12 #The following build dep will be necessary when glibc ups to 2.14.
samuel_trassare@11724 13 #BUILD_DEPENDS="libtirpc"
samuel_trassare@11724 14
pascal@17716 15 DEPENDS="ncurses"
pascal@17716 16 BUILD_DEPENDS="ncurses-dev"
pascal@17716 17
samuel_trassare@11724 18 # Rules to configure and make the package.
samuel_trassare@11724 19 compile_rules()
samuel_trassare@11724 20 {
pascal@17716 21 export LDFLAGS="$LDFLAGS -ltinfo"
pascal@15166 22 mkdir -p $DESTDIR/usr/bin
pascal@15166 23 touch $DESTDIR/usr/bin/tcsh
samuel_trassare@11724 24 ./configure $CONFIGURE_ARGS &&
samuel_trassare@11724 25 make &&
pascal@15166 26 make install &&
pascal@15166 27 rm -f $DESTDIR/usr/bin/tcsh.old
samuel_trassare@11724 28 }
samuel_trassare@11724 29
samuel_trassare@11724 30 # Rules to gen a SliTaz package suitable for Tazpkg.
samuel_trassare@11724 31 genpkg_rules()
samuel_trassare@11724 32 {
samuel_trassare@11725 33 mkdir -p $fs/usr/bin \
samuel_trassare@11725 34 $fs/usr/share
samuel_trassare@11724 35 cp -a $install/usr/bin/tcsh $fs/usr/bin
samuel_trassare@11725 36 cp -ar $install/usr/share/locale $fs/usr/share
samuel_trassare@11724 37 }