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