wok-current view tcl/receipt @ rev 23954

updated smplayer (20.4.2 -> 20.6.0)
author Hans-G?nter Theisgen
date Tue Sep 22 17:05:06 2020 +0100 (2020-09-22)
parents 615e149ced57
children 5f6c5106b1f5
line source
1 # SliTaz package receipt.
3 PACKAGE="tcl"
4 VERSION="8.6.10"
5 CATEGORY="development"
6 TAGS="language programming"
7 SHORT_DESC="The Tool Command Language."
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="BSD"
10 WEB_SITE="https://www.tcl.tk/"
12 TARBALL="${PACKAGE}${VERSION}-src.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 HOST_ARCH="i486 arm"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 case "$ARCH" in
21 arm*)
22 export tcl_cv_strtod_buggy=1
23 export ac_cv_func_strtod=yes
24 sed -i s'#./${TCL_EXE}#/usr/bin/tclsh#' unix/Makefile.in ;;
25 esac
27 cd $src/unix
28 ./configure \
29 --enable-shared \
30 --disable-symbols \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install install-private-headers
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
42 cp -a $install/usr/lib/tcl${VERSION:0:1}* $fs/usr/lib
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 cp -a $install/usr/bin $fs/usr
46 ln -sf tclsh${VERSION:0:3} $fs/usr/bin/tclsh
47 }