58 |
|
|
59 |
local V="$(echo ${PVER} | cut -d "." -f 1,2)" |
local V="$(echo ${PVER} | cut -d "." -f 1,2)" |
60 |
|
|
|
# removes the reference to the build directory |
|
|
# and replace them by saner system wide locations |
|
|
sed -i "s:${SRCDIR}/unix:/usr/$(mlibdir):" tclConfig.sh || die |
|
|
sed -i "s:${SRCDIR}:/usr/include/tcl${V}:" tclConfig.sh || die |
|
|
sed -i "s,^TCL_LIB_FILE='libtcl${V}..TCL_DBGX..so',TCL_LIB_FILE=\"libtcl${V}\$\{TCL_DBGX\}.so\"," tclConfig.sh || die |
|
|
|
|
61 |
# fixes a small doc issue cause Thread.3 maybe used by other packages |
# fixes a small doc issue cause Thread.3 maybe used by other packages |
62 |
# mv ../doc/{,Tcl_}Thread.3 || die |
# mv ../doc/{,Tcl_}Thread.3 || die |
63 |
# sed -i 's/ Thread.3/ Tcl_Thread.3/' mkLinks || die |
# sed -i 's/ Thread.3/ Tcl_Thread.3/' mkLinks || die |
67 |
MAN_INSTALL_DIR=${BINDIR}/usr/share/man \ |
MAN_INSTALL_DIR=${BINDIR}/usr/share/man \ |
68 |
install || die |
install || die |
69 |
|
|
70 |
|
# removes the reference to the build directory |
71 |
|
# and replace them by saner system wide locations |
72 |
|
sed -i "s:${SRCDIR}/unix:/usr/$(mlibdir):" ${BINDIR}/usr/$(mlibdir)/tclConfig.sh || die |
73 |
|
sed -i "s:${SRCDIR}:/usr/include/tcl${V}:" ${BINDIR}/usr/$(mlibdir)/tclConfig.sh || die |
74 |
|
sed -i "s,^TCL_LIB_FILE='libtcl${V}..TCL_DBGX..so',TCL_LIB_FILE=\"libtcl${V}\$\{TCL_DBGX\}.so\"," ${BINDIR}/usr/$(mlibdir)/tclConfig.sh || die |
75 |
|
|
76 |
# installs the internal headers into a system-wide location. |
# installs the internal headers into a system-wide location. |
77 |
minstalldir /usr/include/tcl${V}/unix || die |
minstalldir /usr/include/tcl${V}/unix || die |
78 |
minstallfile \*.h /usr/include/tcl${V}/unix/ || die |
minstallfile \*.h /usr/include/tcl${V}/unix/ || die |