2009-12-09 08:52:52 +00:00
|
|
|
# Template file for 'tcl'
|
|
|
|
pkgname=tcl
|
2014-11-12 19:49:13 +00:00
|
|
|
version=8.6.3
|
2015-01-15 09:29:09 +00:00
|
|
|
revision=2
|
2012-02-09 16:12:05 +00:00
|
|
|
wrksrc="tcl${version}"
|
2014-11-12 19:49:13 +00:00
|
|
|
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"
|
2014-08-30 05:39:21 +00:00
|
|
|
makedepends="zlib-devel"
|
2009-12-09 08:52:52 +00:00
|
|
|
short_desc="The TCL scripting language"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-11-13 10:06:30 +00:00
|
|
|
homepage="http://www.tcl.tk"
|
2011-07-11 14:08:16 +00:00
|
|
|
license="tcl/tk"
|
2012-11-13 10:06:30 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}${version}-src.tar.gz"
|
2014-11-12 19:49:13 +00:00
|
|
|
checksum=6ce0778de0d50daaa9c345d7c1fd1288fb658f674028812e7eeee992e3051005
|
2011-07-11 14:08:16 +00:00
|
|
|
|
2015-01-15 09:29:09 +00:00
|
|
|
shlib_provides="libtcl${version%.*}.so"
|
|
|
|
|
2011-11-15 12:05:24 +00:00
|
|
|
do_install() {
|
2011-07-11 14:08:16 +00:00
|
|
|
make INSTALL_ROOT=${DESTDIR} install install-private-headers
|
2014-11-12 19:49:13 +00:00
|
|
|
ln -s tclsh8.6 ${DESTDIR}/usr/bin/tclsh
|
|
|
|
vlicense ../license.terms LICENSE
|
2009-12-09 08:52:52 +00:00
|
|
|
}
|
2013-04-11 09:03:43 +00:00
|
|
|
|
|
|
|
tcl-devel_package() {
|
2014-08-30 05:39:21 +00:00
|
|
|
depends="tcl>=${version}_${revision}"
|
2013-05-22 09:31:23 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-11 09:03:43 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/tclConfig.sh
|
|
|
|
vmove usr/include
|
2013-05-22 09:31:23 +00:00
|
|
|
vmove usr/lib/pkgconfig
|
2013-04-11 09:03:43 +00:00
|
|
|
vmove usr/share/man/man3
|
|
|
|
vmove usr/share/man/mann
|
|
|
|
}
|
|
|
|
}
|