wok view tk/receipt @ rev 17819
Up: blender 2.73a
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun Mar 22 08:45:09 2015 +0000 (2015-03-22) |
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 }