wok-6.x view tk/receipt @ rev 17395
vlc: remove a false positve trigger
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 27 18:31:22 2014 +0100 (2014-11-27) |
parents | de49f29b101e |
children | 6ce464a0de4b |
line source
1 # SliTaz package receipt.
3 PACKAGE="tk"
4 VERSION="8.5.10"
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 }