tcl: update to 8.5.10.

This commit is contained in:
Juan RP 2011-07-11 16:08:16 +02:00
parent f5d89dae51
commit 60f3468c86
2 changed files with 29 additions and 23 deletions

View File

@ -5,16 +5,14 @@ long_desc="${long_desc}
This package contains files for development, headers, static libs, etc." This package contains files for development, headers, static libs, etc."
revision=1
Add_dependency run glibc-devel Add_dependency run glibc-devel
Add_dependency run tcl Add_dependency run tcl
do_install() do_install()
{ {
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man vmove "usr/lib/*.a" usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib vmove usr/lib/tclConfig.sh usr/lib
mv ${SRCPKGDESTDIR}//usr/lib/tclConfig.sh ${DESTDIR}/usr/lib vmove usr/include usr
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr vmove usr/share/man/man3 usr/share/man
mv ${SRCPKGDESTDIR}/usr/share/man/man{3,n} ${DESTDIR}/usr/share/man vmove usr/share/man/mann usr/share/man
} }

View File

@ -1,30 +1,38 @@
# Template file for 'tcl' # Template file for 'tcl'
pkgname=tcl pkgname=tcl
version=8.5.8 version=8.5.10
revision=1 wrksrc="tcl${version}/unix"
wrksrc="tcl${version}"
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}${version}-src.tar.gz" distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}${version}-src.tar.gz"
build_style=gnu_configure build_style=custom-install
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" short_desc="The TCL scripting language"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
checksum=6b090c1024038d0381e1ccfbd6d5c0f0e6ef205269ceb9d28bd7bd7ac5bbf4a7 homepage="www.tcl.tk"
license="tcl/tk"
checksum=f582063edd5419a39ee8f7b5c8f95d557b5daad13efb0ed2f0967ca185613bb7
long_desc=" long_desc="
This package contains Tcl, John Osterhout's Tool Command Language, an This package contains Tcl, John Osterhout's Tool Command Language, an
exceedingly simple language great for general scripting and for exceedingly simple language great for general scripting and for
embedding in other programs." embedding in other programs."
subpackages="$pkgname-devel" subpackages="tcl-devel"
Add_dependency run glibc Add_dependency run glibc
post_install() do_build()
{ {
cd ${DESTDIR}/usr/bin && ln -sf tclsh8.5 tclsh if [ "${xbps_machine}" = "x86_64" ]; then
chmod 755 ${DESTDIR}/usr/lib/libtcl*.so* local args="${configure_args} --enable-64bits"
fi
./configure ${CONFIGURE_SHARED_ARGS} --enable-threads \
--without-tzdata --enable-man-symlinks $args
make ${makejobs}
}
do_install()
{
make INSTALL_ROOT=${DESTDIR} install install-private-headers
ln -sf /usr/bin/tclsh8.5 ${DESTDIR}/usr/bin/tclsh
vinstall ../license.terms 644 usr/share/licenses/tcl LICENSE
} }