wok-6.x view tcl/receipt @ rev 16061

ARM: add libtool and xorg-xkbcomp
author Christophe Lincoln <pankso@slitaz.org>
date Wed Mar 12 01:19:59 2014 +0100 (2014-03-12)
parents de49f29b101e
children f8e9bf4989d3
line source
1 # SliTaz package receipt.
3 PACKAGE="tcl"
4 VERSION="8.5.10"
5 CATEGORY="development"
6 SHORT_DESC="The Tool Command Language"
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/$PACKAGE/$TARBALL"
12 TAGS="language programming"
13 HOST_ARCH="i486 arm"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 case "$ARCH" in
19 arm*)
20 export tcl_cv_strtod_buggy=1
21 export ac_cv_func_strtod=yes ;;
22 esac
23 cd $src/unix
24 ./configure \
25 --enable-shared \
26 --disable-symbols \
27 --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 make &&
30 make install install-private-headers
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/tcl8* $fs/usr/lib 2>/dev/null
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
40 ln -sf tclsh8.5 $fs/usr/bin/tclsh
41 }