wok-current view tcl/receipt @ rev 8868

Fix: gtkdatabox compile_rules()
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Feb 26 06:03:58 2011 +0100 (2011-02-26)
parents 43ec05a2b26b
children e8768e5178a6
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 install install-private-headers
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/tcl8* $fs/usr/lib
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/bin $fs/usr
34 strip -s $fs/usr/bin/*
35 ln -sf tclsh8.5 $fs/usr/bin/tclsh
36 }