wok-6.x view tcl/receipt @ rev 10726

libtaz: Don't need to check /usr/bin/hg anymore. Best to get the tag 1.1.2 version. May need to delete the slitaz-dev-tools-1.1.2.tar.bz2 source on tank to make sure we have the tag version.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 28 20:44:37 2011 +0000 (2011-05-28)
parents 02bbaa9d12ba
children b0a5892d86f3
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 TARBALL="${PACKAGE}${VERSION}-src.tar.gz"
9 WEB_SITE="http://tcl.sourceforge.net/"
10 WGET_URL="http://surfnet.dl.sourceforge.net/sourceforge/tcl/$TARBALL"
11 TAGS="language programming"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src/unix
17 ./configure \
18 --enable-shared \
19 --disable-symbols \
20 --mandir=/usr/share/man $CONFIGURE_ARGS && \
21 make && \
22 make install install-private-headers
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/lib/tcl8* $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 cp -a $_pkg/usr/bin $fs/usr
32 ln -sf tclsh8.5 $fs/usr/bin/tclsh
33 }