void-packages/srcpkgs/tcl/template

31 lines
991 B
Plaintext

# Template file for 'tcl'
pkgname=tcl
version=8.5.8
revision=1
wrksrc="tcl${version}"
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}${version}-src.tar.gz"
build_style=gnu_configure
configure_script="./unix/configure"
configure_args="--enable-threads --without-tzdata --enable-man-symlinks"
if [ "${xbps_machine}" = "x86_64" ]; then
configure_args="${configure_args} --enable-64bits"
fi
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()
{
cd ${DESTDIR}/usr/bin && ln -sf tclsh8.5 tclsh
chmod 755 ${DESTDIR}/usr/lib/libtcl*.so*
}