wok-stable view tcl/receipt @ rev 8728
Fixed linux not to put a tmp folder in WOK. Instead its WOK/PACKAGE/tmp now. This fixes a problem with update-repository dying out cause of WOK/tmp folder.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Feb 19 01:35:37 2011 +0000 (2011-02-19) |
parents | b81a1aeb22bd |
children | 7fc7fdaf0872 |
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 SOURCE="tcl"
10 TARBALL="${SOURCE}${VERSION}-src.tar.gz"
11 WEB_SITE="http://tcl.sourceforge.net/"
12 WGET_URL="http://surfnet.dl.sourceforge.net/sourceforge/tcl/$TARBALL"
13 TAGS="language programming"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src/unix
19 ./configure \
20 --enable-shared \
21 --disable-symbols \
22 --mandir=/usr/share/man && \
23 make && \
24 make DESTDIR=$DESTDIR install
25 cp -a $src/generic/tcl*.h $DESTDIR/usr/include
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/lib/tcl8* $fs/usr/lib
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/bin $fs/usr
35 strip -s $fs/usr/bin/*
36 ln -sf tclsh8.5 $fs/usr/bin/tclsh
37 }