Files
haikuports/dev-lang/tcl/tcl-8.5.18.recipe
2015-07-02 11:13:12 -04:00

80 lines
1.7 KiB
Bash

SUMMARY="A very powerful but easy to learn dynamic programming language"
DESCRIPTION="
Tcl (Tool Command Language) is a very powerful but easy to learn dynamic \
programming language, suitable for a very wide range of uses, including web \
and desktop applications, networking, administration, testing and many more. \
Open source and business-friendly, Tcl is a mature yet evolving language that \
is truly cross platform, easily deployed and highly extensible.
"
HOMEPAGE="http://www.tcl.tk"
SOURCE_URI="http://sourceforge.net/projects/tcl/files/Tcl/$portVersion/tcl$portVersion-src.tar.gz"
CHECKSUM_SHA256="032be57a607bdf252135b52fac9e3a7016e526242374ac7637b083ecc4c5d3c9"
REVISION="1"
ARCHITECTURES="x86 x86_gcc2 x86_64"
LICENSE="BSD (2-clause)"
COPYRIGHT="Regents of the University of California, Sun Microsystems, Inc., Scriptics Corporation, ActiveState Corporation and other parties"
SOURCE_DIR="tcl$portVersion"
PATCHES="tcl-$portVersion.patchset"
PROVIDES="
tcl = $portVersion compat >= 8.5
cmd:tclsh = $portVersion compat >= 8.5
cmd:tclsh8.5 = $portVersion compat >= 8.5
lib:libtcl8.5 = $portVersion compat >= 8.5
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku_devel
cmd:autoconf
cmd:make
cmd:gcc
cmd:ld
cmd:find
cmd:sed
cmd:grep
"
BUILD()
{
cd unix
autoconf -f
runConfigure ./configure \
--enable-threads --enable-man-symlinks
make
}
INSTALL()
{
cd unix
make install
ln -s tclsh8.5 "${binDir}/tclsh"
prepareInstalledDevelLibs libtclstub8.5
packageEntries devel $developDir
packageEntries devel ${libDir}/tclConfig.sh
}
TEST()
{
cd unix
make test
}
PROVIDES_devel="
tcl_devel = $portVersion
devel:libtclstub8.5 = $portVersion
"
REQUIRES_devel="
tcl == $portVersion
"