wok-next view tcl/receipt @ rev 17535

Up openvpn (2.3.6)
author Richard Dunbar <mojo@slitaz.org>
date Wed Jan 21 17:46:09 2015 -0500 (2015-01-21)
parents 61bec0518c8c
children 5470c9cb7190
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 sed -i s'#./${TCL_EXE}#/usr/bin/tclsh#' unix/Makefile.in ;;
23 esac
24 cd $src/unix
25 ./configure \
26 --enable-shared \
27 --disable-symbols \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install install-private-headers
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/tcl8* $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/bin $fs/usr
41 ln -sf tclsh8.5 $fs/usr/bin/tclsh
42 }