Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : tcl | name : tcl | ||||
| version : 8.6.6 | version : 8.6.8 | ||||
| release : 5 | release : 6 | ||||
| source : | source : | ||||
| - http://downloads.sourceforge.net/tcl/tcl8.6.6-src.tar.gz : a265409781e4b3edcc4ef822533071b34c3dc6790b893963809b9fe221befe07 | - https://netcologne.dl.sourceforge.net/project/tcl/Tcl/8.6.8/tcl8.6.8-src.tar.gz : c43cb0c1518ce42b00e7c8f6eaddd5195c53a98f94adc717234a65cbcfd3f96a | ||||
| license : | homepage : http://www.tcl.tk | ||||
| - BSD | license : TCL | ||||
| component : programming.library | |||||
| summary : tcl (Tool Command Language) | summary : tcl (Tool Command Language) | ||||
| libsplit : no | |||||
| patterns : | |||||
| - docs : /usr/share/man/mann | |||||
| - docs : /usr/share/man/man3 | |||||
| description: | | description: | | ||||
| Tcl is a powerful but easy to use dynamic programming language suitable for a wide range of uses including web and desktop applications, along with networking, administration, and more. | Tcl is a powerful but easy to use dynamic programming language suitable for a wide range of uses including web and desktop applications, along with networking, administration, and more. | ||||
| libsplit : no | |||||
| patterns : | |||||
| - devel : /usr/lib64/tcl8.6/include/ | |||||
| - docs : | |||||
| - /usr/share/man/mann | |||||
| - /usr/share/man/man3 | |||||
| builddeps : | |||||
| - httpd-devel # make test | |||||
| setup : | | setup : | | ||||
| pushd unix | pushd unix | ||||
| %configure --enable-64bit --includedir=/usr/include/tcl8.6 | %configure --enable-64bit --enable-threads --includedir=/usr/include/tcl${version%.*} | ||||
| popd | |||||
| build : | | build : | | ||||
| pushd unix | pushd unix | ||||
| %make | %make TCL_LIBRARY=%libdir%/tcl${version%.*} | ||||
| popd | |||||
| install : | | install : | | ||||
| export tv="tcl${version%.*}" | |||||
| pushd unix | |||||
| %make_install TCL_LIBRARY=%libdir%/$tv | |||||
| popd | |||||
| # install private headers | |||||
| mkdir -p $installdir%libdir%/$tv/include/{generic,unix} | |||||
| find generic unix -name "*.h" -exec install '{}' $installdir%libdir%/$tv/include/'{}' ';' | |||||
| ln -sv /usr/bin/tclsh${version%.*} $installdir/usr/bin/tclsh | |||||
| ln -sv lib$tv.so $installdir%libdir%/libtcl.so | |||||
| # remove build $workdir traces | |||||
| sed -e "s|$workdir/unix|%libdir%|" -e "s|$workdir|%libdir%/$tv/include|" -i $installdir/%libdir%/tclConfig.sh | |||||
| check : | | |||||
| pushd unix | pushd unix | ||||
| %make_install | %make test | ||||
| ln -sv /usr/bin/tclsh8.6 $installdir/usr/bin/tclsh | popd | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.