wok-current view tcl/receipt @ rev 9401
Up: rsync to 3.0.8.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Mar 27 08:05:44 2011 +0000 (2011-03-27) |
parents | 7fc7fdaf0872 |
children | 02bbaa9d12ba |
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 strip -s $fs/usr/bin/*
34 ln -sf tclsh8.5 $fs/usr/bin/tclsh
35 }