wok view tk/receipt @ rev 22037

updated tk and tk-dev (8.6.3 -> 8.6.9.1)
author Hans-G?nter Theisgen
date Mon Oct 21 15:46:24 2019 +0100 (2019-10-21)
parents d1139a9dbf88
children a990d22836c7
line source
1 # SliTaz package receipt.
3 PACKAGE="tk"
4 VERSION="8.6.9.1"
5 CATEGORY="development"
6 TAGS="programming language"
7 SHORT_DESC="The TCL gui toolkit."
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="BSD"
10 WEB_SITE="http://www.tcl.tk/"
12 TARBALL="${PACKAGE}${VERSION}-src.tar.gz"
13 WGET_URL="$SF_MIRROR/tcl/$TARBALL"
15 DEPENDS="expat fontconfig freetype tcl xorg-libX11 xorg-libXau xorg-libXdmcp \
16 xorg-libXft xorg-libXrender xorg-libXss zlib"
17 BUILD_DEPENDS="tcl-dev xorg-libX11-dev"
19 HOST_ARCH="i486 arm"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 case "$ARCH" in
25 arm*)
26 ARCH_ARGS="--with-tcl=/cross/arm/sysroot/usr/lib"
27 export tcl_cv_strtod_buggy=1
28 export ac_cv_func_strtod=yes ;;
29 esac
31 cd $src/unix
32 ./configure \
33 --prefix=/usr \
34 --enable-threads \
35 --enable-shared \
36 $ARCH_ARGS ${CONFIGURE_ARGS} &&
37 make &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 cp -a $install/usr/lib/tk${VERSION:0:3} $fs/usr/lib
50 cd $fs/usr/bin
51 ln -s wish${VERSION:0:3} wish
52 }