wok-stable view tk/receipt @ rev 11838
perl-digest-md5: Sync with wok-tank.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Feb 27 01:04:07 2012 -0500 (2012-02-27) |
parents | e8768e5178a6 |
children |
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 }