wok-current view tcl/receipt @ rev 19698

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