tcl: also install-private-headers.

* fix tclConfig paths.
This commit is contained in:
Jerome Duval
2016-06-06 22:17:22 +00:00
parent b03c8d7f70
commit e7481e3a89

View File

@@ -8,7 +8,7 @@ is truly cross platform, easily deployed and highly extensible."
HOMEPAGE="http://www.tcl.tk"
COPYRIGHT="Regents of the University of California, Sun Microsystems, Inc., Scriptics Corporation, ActiveState Corporation and other parties"
LICENSE="BSD (2-clause)"
REVISION="2"
REVISION="3"
SOURCE_URI="http://sourceforge.net/projects/tcl/files/Tcl/$portVersion/tcl$portVersion-src.tar.gz"
CHECKSUM_SHA256="032be57a607bdf252135b52fac9e3a7016e526242374ac7637b083ecc4c5d3c9"
SOURCE_DIR="tcl$portVersion"
@@ -52,20 +52,23 @@ BUILD()
cd unix
autoconf -f
runConfigure ./configure \
--enable-threads --enable-man-symlinks
--enable-threads --enable-man-symlinks
make
}
INSTALL()
{
cd unix
make install
make install install-private-headers
ln -s tclsh8.5 "${binDir}/tclsh"
sed -i -e "s#${sourceDir}/unix#${developLibDir}#" \
-e "s#${sourceDir}#${includeDir}#" \
${libDir}/tclConfig.sh
prepareInstalledDevelLibs libtclstub8.5
packageEntries devel $developDir
packageEntries devel ${libDir}/tclConfig.sh
packageEntries devel $developDir ${libDir}/tclConfig.sh
}
TEST()