wok-current annotate tcl/receipt @ rev 20611

Up linux-libre (3.18.129) again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 18 11:30:04 2018 +0100 (2018-12-18)
parents 5470c9cb7190
children 615e149ced57
rev   line source
erjo@507 1 # SliTaz package receipt.
erjo@507 2
erjo@507 3 PACKAGE="tcl"
devl547@17652 4 VERSION="8.6.3"
erjo@507 5 CATEGORY="development"
erjo@507 6 SHORT_DESC="The Tool Command Language"
erjo@784 7 MAINTAINER="erjo@slitaz.org"
pascal@15600 8 LICENSE="BSD"
slaxemulator@9365 9 TARBALL="${PACKAGE}${VERSION}-src.tar.gz"
erjo@507 10 WEB_SITE="http://tcl.sourceforge.net/"
slaxemulator@10997 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@4973 12 TAGS="language programming"
pankso@16026 13 HOST_ARCH="i486 arm"
erjo@507 14
erjo@507 15 # Rules to configure and make the package.
erjo@507 16 compile_rules()
erjo@507 17 {
pankso@16026 18 case "$ARCH" in
pankso@16026 19 arm*)
pankso@16026 20 export tcl_cv_strtod_buggy=1
pankso@16504 21 export ac_cv_func_strtod=yes
pankso@16504 22 sed -i s'#./${TCL_EXE}#/usr/bin/tclsh#' unix/Makefile.in ;;
pankso@16026 23 esac
slaxemulator@8727 24 cd $src/unix
slaxemulator@8727 25 ./configure \
pankso@16026 26 --enable-shared \
pankso@16026 27 --disable-symbols \
pankso@16026 28 --mandir=/usr/share/man \
pankso@16026 29 $CONFIGURE_ARGS &&
pankso@16026 30 make &&
gokhlayeh@8759 31 make install install-private-headers
erjo@507 32 }
erjo@507 33
erjo@507 34 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@507 35 genpkg_rules()
erjo@507 36 {
erjo@507 37 mkdir -p $fs/usr/lib
pascal@17669 38 cp -a $install/usr/lib/tcl${VERSION:0:1}* $fs/usr/lib
pascal@15600 39 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15600 40 cp -a $install/usr/bin $fs/usr
pascal@17669 41 ln -sf tclsh${VERSION:0:3} $fs/usr/bin/tclsh
erjo@507 42 }