void-packages/srcpkgs/tcl/template
Juan RP 7c84ea2bcd Added tcl-8.5.8 build template.
--HG--
extra : convert_revision : a4edaac9f3b71e3b5c977fdcb2ae0dcee7a03a06
2009-12-09 09:52:52 +01:00

29 lines
928 B
Plaintext

# Template file for 'tcl'
pkgname=tcl
version=8.5.8
wrksrc="tcl${version}"
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}${version}-src.tar.gz"
build_style=gnu_configure
configure_script="./unix/configure"
configure_args="--enable-threads"
make_install_target="INSTALL_ROOT=$XBPS_DESTDIR/$pkgname-$version
install install-private-headers"
short_desc="The TCL scripting language"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=6b090c1024038d0381e1ccfbd6d5c0f0e6ef205269ceb9d28bd7bd7ac5bbf4a7
long_desc="
This package contains Tcl, John Osterhout's Tool Command Language, an
exceedingly simple language great for general scripting and for
embedding in other programs."
subpackages="$pkgname-devel"
Add_dependency run glibc
post_install()
{
install -d ${DESTDIR}/usr/share/man/man1
mv ${DESTDIR}/usr/share/man/mann/tclsh.n \
${DESTDIR}/usr/share/man/man1/tclsh.1
cd ${DESTDIR}/usr/bin && ln -sf tclsh8.5 tclsh
}