wok-current view tk/receipt @ rev 10543

gnomad2: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 25 19:03:26 2011 +0200 (2011-05-25)
parents be13f25e790b
children ff669d22310a
line source
1 # SliTaz package receipt.
3 PACKAGE="tk"
4 VERSION="8.5.9"
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="http://surfnet.dl.sourceforge.net/sourceforge/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 $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/lib/tk${VERSION%%.[0-9]} $fs/usr/lib
35 cd $fs/usr/bin
36 ln -s wish${VERSION%%.[0-9]} wish
37 }