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

util-linux-eject: add depends,remove post_install
author Richard Dunbar <mojo@slitaz.org>
date Wed Dec 25 00:55:35 2013 +0000 (2013-12-25)
parents b0a5892d86f3
children 61bec0518c8c
line source
1 # SliTaz package receipt.
3 PACKAGE="tcl"
4 VERSION="8.5.10"
5 CATEGORY="development"
6 SHORT_DESC="The Tool Command Language"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="${PACKAGE}${VERSION}-src.tar.gz"
10 WEB_SITE="http://tcl.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$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 $CONFIGURE_ARGS && \
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 $install/usr/lib/tcl8* $fs/usr/lib
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 cp -a $install/usr/bin $fs/usr
33 ln -sf tclsh8.5 $fs/usr/bin/tclsh
34 }