wok-6.x view tk/receipt @ rev 18305
Up: bogofilter (1.2.4)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Aug 24 09:12:53 2015 +0200 (2015-08-24) |
parents | 4d888974dc59 |
children | d1139a9dbf88 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tk"
4 VERSION="8.6.3"
5 CATEGORY="development"
6 SHORT_DESC="The TCL gui toolkit"
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/tcl/$TARBALL"
12 TAGS="programming language"
13 HOST_ARCH="i486 arm"
15 DEPENDS="tcl expat fontconfig freetype xorg-libX11 xorg-libXau xorg-libXdmcp \
16 xorg-libXft xorg-libXrender zlib xorg-libXss"
17 BUILD_DEPENDS="tcl-dev xorg-libX11-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 case "$ARCH" in
23 arm*)
24 export tcl_cv_strtod_buggy=1
25 export ac_cv_func_strtod=yes ;;
26 esac
27 cd $src/unix
28 ./configure \
29 --prefix=/usr \
30 --enable-threads \
31 --enable-shared \
32 ${CONFIGURE_ARGS} &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/usr/lib/tk${VERSION:0:3} $fs/usr/lib
45 cd $fs/usr/bin
46 ln -s wish${VERSION:0:3} wish
47 }