void-packages/srcpkgs/tcl/template

29 lines
928 B
Text
Raw Normal View History

# 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
}