wok view tk/receipt @ rev 23967
updated dpkg (1.16.12 -> 1.17.27) again
author | Hans-G?nter Theisgen |
---|---|
date | Sun Oct 04 07:14:42 2020 +0100 (2020-10-04) |
parents | b8ddcdf440e4 |
children | 5f6c5106b1f5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tk"
4 VERSION="8.6.10"
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="https://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 \
37 ${CONFIGURE_ARGS} &&
38 make &&
39 make DESTDIR=$DESTDIR install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 cp -a $install/usr/lib/tk${VERSION:0:3} $fs/usr/lib
51 cd $fs/usr/bin
52 ln -s wish${VERSION:0:3} wish
53 }