wok view tk/receipt @ rev 6843
Added openjpeg. Needed for mupdf.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 20 01:21:41 2010 +0000 (2010-10-20) |
parents | 4897058add72 |
children | be13f25e790b |
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 # Redefine TK source path
21 src=${SOURCE}${VERSION}/unix
23 cd $src
24 ./configure --prefix=/usr \
25 --enable-threads \
26 --enable-shared $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 _pkg=${SOURCE}${VERSION}/unix/_pkg
36 mkdir -p $fs/usr/lib
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
39 cp -a $_pkg/usr/lib/tk${VERSION%%.[0-9]} $fs/usr/lib
41 cd $fs/usr/bin
42 ln -s wish${VERSION%%.[0-9]} wish
43 }
45 clean_wok()
46 {
47 test -d tk* && rm -rf tk*
48 }