wok-current annotate tcl/receipt @ rev 22137

updated wmctrl ( -> 1.07)
author Hans-G?nter Theisgen
date Tue Nov 05 09:18:31 2019 +0100 (2019-11-05)
parents 9a27b923c7b7
children 8f2a606b1fcb
rev   line source
erjo@507 1 # SliTaz package receipt.
erjo@507 2
erjo@507 3 PACKAGE="tcl"
Hans-G?nter@22011 4 VERSION="8.6.9"
erjo@507 5 CATEGORY="development"
Hans-G?nter@22011 6 TAGS="language programming"
Hans-G?nter@22011 7 SHORT_DESC="The Tool Command Language."
erjo@784 8 MAINTAINER="erjo@slitaz.org"
pascal@15600 9 LICENSE="BSD"
Hans-G?nter@22011 10 WEB_SITE="https://www.tcl.tk/"
Hans-G?nter@22011 11
slaxemulator@9365 12 TARBALL="${PACKAGE}${VERSION}-src.tar.gz"
slaxemulator@10997 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
Hans-G?nter@22011 14
pankso@16026 15 HOST_ARCH="i486 arm"
erjo@507 16
erjo@507 17 # Rules to configure and make the package.
erjo@507 18 compile_rules()
erjo@507 19 {
pankso@16026 20 case "$ARCH" in
pankso@16026 21 arm*)
pankso@16026 22 export tcl_cv_strtod_buggy=1
pankso@16504 23 export ac_cv_func_strtod=yes
pankso@16504 24 sed -i s'#./${TCL_EXE}#/usr/bin/tclsh#' unix/Makefile.in ;;
pankso@16026 25 esac
Hans-G?nter@22011 26
slaxemulator@8727 27 cd $src/unix
Hans-G?nter@22011 28 ./configure \
Hans-G?nter@22011 29 --enable-shared \
Hans-G?nter@22011 30 --disable-symbols \
Hans-G?nter@22011 31 --mandir=/usr/share/man \
pankso@16026 32 $CONFIGURE_ARGS &&
pankso@16026 33 make &&
gokhlayeh@8759 34 make install install-private-headers
erjo@507 35 }
erjo@507 36
erjo@507 37 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@507 38 genpkg_rules()
erjo@507 39 {
erjo@507 40 mkdir -p $fs/usr/lib
Hans-G?nter@22011 41
Hans-G?nter@22011 42 cp -a $install/usr/lib/tcl${VERSION:0:1}* $fs/usr/lib
Hans-G?nter@22011 43 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@22011 44 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22011 45
Hans-G?nter@22011 46 ln -sf tclsh${VERSION:0:3} $fs/usr/bin/tclsh
erjo@507 47 }