wok-current view tcl/receipt @ rev 23456

updated pure-ftpd and pure-ftpd-pam (1.0.48 -> 1.0.49)
author Hans-G?nter Theisgen
date Fri Apr 03 13:56:35 2020 +0100 (2020-04-03)
parents 9a27b923c7b7
children 8f2a606b1fcb
line source
1 # SliTaz package receipt.
3 PACKAGE="tcl"
4 VERSION="8.6.9"
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 }