17a8116215
xbps-src ignores unversioned shlibs currently.
36 lines
1,010 B
Text
36 lines
1,010 B
Text
# Template file for 'tcl'
|
|
pkgname=tcl
|
|
version=8.6.3
|
|
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 tcl_cv_strtod_unbroken=ok"
|
|
makedepends="zlib-devel"
|
|
short_desc="The TCL scripting language"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://www.tcl.tk"
|
|
license="tcl/tk"
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}${version}-src.tar.gz"
|
|
checksum=6ce0778de0d50daaa9c345d7c1fd1288fb658f674028812e7eeee992e3051005
|
|
|
|
shlib_provides="libtcl${version%.*}.so"
|
|
|
|
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
|
|
}
|
|
}
|