4bd42b8b05
glibc=2.27 dropped an obsolete reference to libieee. TCL has a reference to this static library and needs to be rebuilt to remove it.
41 lines
1.1 KiB
Bash
41 lines
1.1 KiB
Bash
# Template file for 'tcl'
|
|
pkgname=tcl
|
|
version=8.6.8
|
|
revision=2
|
|
wrksrc="tcl${version}"
|
|
build_wrksrc="unix"
|
|
build_style=gnu-configure
|
|
configure_args="--enable-threads --without-tzdata --enable-man-symlinks
|
|
--disable-static --disable-rpath --with-system-sqlite
|
|
tcl_cv_strtod_unbroken=ok"
|
|
makedepends="zlib-devel sqlite-devel"
|
|
short_desc="The TCL scripting language"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://www.tcl.tk"
|
|
license="tcl/tk"
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}${version}-src.tar.gz"
|
|
checksum=c43cb0c1518ce42b00e7c8f6eaddd5195c53a98f94adc717234a65cbcfd3f96a
|
|
|
|
shlib_provides="libtcl${version%.*}.so"
|
|
|
|
post_extract() {
|
|
sed -i 's/-DSQLITE_API=MODULE_SCOPE//g' pkgs/sqlite*/Makefile.in
|
|
}
|
|
|
|
do_install() {
|
|
make INSTALL_ROOT=${DESTDIR} install install-private-headers
|
|
ln -s tclsh8.6 ${DESTDIR}/usr/bin/tclsh
|
|
vlicense ../license.terms LICENSE
|
|
}
|
|
|
|
tcl-devel_package() {
|
|
depends="tcl>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/lib/tclConfig.sh
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share/man/man3
|
|
vmove usr/share/man/mann
|
|
}
|
|
}
|