wok-current view tk/receipt @ rev 9035
Fixed gtk-engines-rezlooks.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Mar 03 17:32:36 2011 +0000 (2011-03-03) |
parents | b81a1aeb22bd |
children | e8768e5178a6 |
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 SOURCE="tk"
12 TARBALL="${SOURCE}${VERSION}-src.tar.gz"
13 WEB_SITE="http://tcl.sourceforge.net/"
14 WGET_URL="http://surfnet.dl.sourceforge.net/sourceforge/tcl/$TARBALL"
15 TAGS="programming language"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/unix
21 ./configure --prefix=/usr \
22 --enable-threads \
23 --enable-shared $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/lib/tk${VERSION%%.[0-9]} $fs/usr/lib
36 cd $fs/usr/bin
37 ln -s wish${VERSION%%.[0-9]} wish
38 }