wok-current annotate tk/receipt @ rev 20981

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