wok-6.x view tk/receipt @ rev 14822
Up: libxfce4ui* (4.19.0)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Jul 17 13:48:02 2013 +0200 (2013-07-17) |
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 }