tcl: make tclsh a relative symlink.

This commit is contained in:
Juan RP 2012-09-23 02:18:40 +02:00
parent a76bff3fb4
commit cc46f515f2

View file

@ -4,7 +4,7 @@ version=8.5.11
wrksrc="tcl${version}" wrksrc="tcl${version}"
build_wrksrc=unix build_wrksrc=unix
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}${version}-src.tar.gz" distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}${version}-src.tar.gz"
revision=1 revision=2
short_desc="The TCL scripting language" short_desc="The TCL scripting language"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="www.tcl.tk" homepage="www.tcl.tk"
@ -32,6 +32,6 @@ do_build() {
do_install() { do_install() {
make INSTALL_ROOT=${DESTDIR} install install-private-headers make INSTALL_ROOT=${DESTDIR} install install-private-headers
ln -sf /usr/bin/tclsh8.5 ${DESTDIR}/usr/bin/tclsh ln -sfr ${DESTDIR}/usr/bin/tclsh8.5 ${DESTDIR}/usr/bin/tclsh
vinstall ../license.terms 644 usr/share/licenses/tcl LICENSE vinstall ../license.terms 644 usr/share/licenses/tcl LICENSE
} }