wok-current view tk/receipt @ rev 12622

Up exosip (3.6.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 29 12:05:00 2012 +0200 (2012-04-29)
parents e8768e5178a6
children de49f29b101e
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 DEPENDS="tcl expat fontconfig freetype xorg-libX11 xorg-libXau xorg-libXdmcp \
9 xorg-libXft xorg-libXrender zlib xorg-libXss"
10 BUILD_DEPENDS="tcl-dev xorg-libX11-dev"
11 TARBALL="${PACKAGE}${VERSION}-src.tar.gz"
12 WEB_SITE="http://tcl.sourceforge.net/"
13 WGET_URL="$SF_MIRROR/tcl/$TARBALL"
14 TAGS="programming language"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src/unix
20 ./configure --prefix=/usr \
21 --enable-threads \
22 --enable-shared $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 cp -a $install/usr/lib/tk${VERSION:0:3} $fs/usr/lib
35 cd $fs/usr/bin
36 ln -s wish${VERSION:0:3} wish
37 }