wok view tk/receipt @ rev 15666

Add ddumbfs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 13 16:18:29 2013 +0000 (2013-12-13)
parents ff669d22310a
children 4d888974dc59
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"
14 DEPENDS="tcl expat fontconfig freetype xorg-libX11 xorg-libXau xorg-libXdmcp \
15 xorg-libXft xorg-libXrender zlib xorg-libXss"
16 BUILD_DEPENDS="tcl-dev xorg-libX11-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src/unix
22 ./configure --prefix=/usr \
23 --enable-threads \
24 --enable-shared $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 cp -a $install/usr/lib/tk${VERSION:0:3} $fs/usr/lib
37 cd $fs/usr/bin
38 ln -s wish${VERSION:0:3} wish
39 }