wok view tk/receipt @ rev 21210
updated scim again (1.4.9 -> 1.4.18)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 09 16:34:08 2019 +0100 (2019-04-09) |
parents | 6ce464a0de4b |
children | b8ddcdf440e4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tk"
4 VERSION="8.6.3"
5 CATEGORY="development"
6 SHORT_DESC="The TCL gui toolkit"
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/tcl/$TARBALL"
12 TAGS="programming language"
13 HOST_ARCH="i486 arm"
15 DEPENDS="tcl expat fontconfig freetype xorg-libX11 xorg-libXau xorg-libXdmcp \
16 xorg-libXft xorg-libXrender zlib xorg-libXss"
17 BUILD_DEPENDS="tcl-dev xorg-libX11-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 case "$ARCH" in
23 arm*)
24 ARCH_ARGS="--with-tcl=/cross/arm/sysroot/usr/lib"
25 export tcl_cv_strtod_buggy=1
26 export ac_cv_func_strtod=yes ;;
27 esac
28 cd $src/unix
29 ./configure \
30 --prefix=/usr \
31 --enable-threads \
32 --enable-shared \
33 $ARCH_ARGS ${CONFIGURE_ARGS} &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 cp -a $install/usr/lib/tk${VERSION:0:3} $fs/usr/lib
46 cd $fs/usr/bin
47 ln -s wish${VERSION:0:3} wish
48 }