wok view tcl/receipt @ rev 9846

Fixed apache-mod-wsgi for tazwok. Just need to cd $src before compiling.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun May 15 18:30:30 2011 +0000 (2011-05-15)
parents e8768e5178a6
children 5f9ad8ee2c9a
line source
1 # SliTaz package receipt.
3 PACKAGE="tcl"
4 VERSION="8.5.9"
5 CATEGORY="development"
6 SHORT_DESC="The Tool Command Language"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS=""
9 TARBALL="${PACKAGE}${VERSION}-src.tar.gz"
10 WEB_SITE="http://tcl.sourceforge.net/"
11 WGET_URL="http://surfnet.dl.sourceforge.net/sourceforge/tcl/$TARBALL"
12 TAGS="language programming"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src/unix
18 ./configure \
19 --enable-shared \
20 --disable-symbols \
21 --mandir=/usr/share/man && \
22 make && \
23 make install install-private-headers
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/tcl8* $fs/usr/lib
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/bin $fs/usr
33 ln -sf tclsh8.5 $fs/usr/bin/tclsh
34 }