Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : tk | name : tk | ||||
| version : 8.6.6 | version : 8.6.8 | ||||
| release : 6 | release : 7 | ||||
| source : | source : | ||||
| - http://prdownloads.sourceforge.net/tcl/tk8.6.6-src.tar.gz : d62c371a71b4744ed830e3c21d27968c31dba74dd2c45f36b9b071e6d88eb19d | - https://netcologne.dl.sourceforge.net/project/tcl/Tcl/8.6.8/tk8.6.8-src.tar.gz : 49e7bca08dde95195a27f594f7c850b088be357a7c7096e44e1158c7a5fd7b33 | ||||
| homepage : http://www.tcl.tk | homepage : http://www.tcl.tk | ||||
| license : | license : TCL | ||||
| - TCL | component : programming.library | ||||
| libsplit : no | |||||
| summary : Tk (GUI toolkit standard for Tcl) | summary : Tk (GUI toolkit standard for Tcl) | ||||
| description: | | |||||
| TK is a graphical user interface toolkit that is standard for Tcl but also allows application programming in other languages as well, allowing for applications to run on multiple platforms. | |||||
| builddeps : | builddeps : | ||||
| - pkgconfig(tcl) | - pkgconfig(tcl) | ||||
| - pkgconfig(x11) | - pkgconfig(x11) | ||||
| - pkgconfig(xft) | - pkgconfig(xft) | ||||
| - pkgconfig(xscrnsaver) | - pkgconfig(xscrnsaver) | ||||
| component : programming.library | |||||
| libsplit : no | |||||
| patterns : | patterns : | ||||
| - docs: | - docs : | ||||
| - /usr/share/doc | - /usr/share/doc | ||||
| - /usr/share/man/mann | - /usr/share/man/mann | ||||
| - /usr/share/man/man3 | - /usr/share/man/man3 | ||||
| - /usr/lib/tk8.6/demos/ | - /usr/lib/tk8.6/demos/ | ||||
| description: | | |||||
| TK is a graphical user interface toolkit that is standard for Tcl but also allows application programming in other languages as well, allowing for applications to run on multiple platforms. | |||||
| setup : | | setup : | | ||||
| pushd unix | pushd unix | ||||
| %configure --disable-static --includedir=/usr/include/tk8.6 --enable-64bit CFLAGS="$CFLAGS -I/usr/include/tcl8.6" | %configure --disable-static \ | ||||
| --includedir=/usr/include/tk${version%.*} \ | |||||
| --enable-64bit \ | |||||
| CFLAGS="$CFLAGS -I/usr/include/tcl${version%.*}" | |||||
| popd | |||||
| build : | | build : | | ||||
| pushd unix | pushd unix | ||||
| %make | %make TK_LIBRARY=%libdir%/tk${version%.*} | ||||
| popd | |||||
| install : | | install : | | ||||
| export tv="tk${version%.*}" | |||||
| pushd unix | pushd unix | ||||
| %make_install | %make_install TK_LIBRARY=%libdir%/$tv | ||||
| ln -s /usr/bin/wish8.6 $installdir/usr/bin/wish | 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/wish${version%.*} $installdir/usr/bin/wish | |||||
| ln -sv lib$tv.so $installdir%libdir%/libtcl.so | |||||
| # remove build $workdir traces | |||||
| libdir=%libdir% # stupid hack because the substitution of %libdir% does not work | |||||
| sed -e "s|$workdir/unix|$libdir|" -e "s|$workdir|$libdir/$tv/include|" -i $installdir/$libdir/tkConfig.sh | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.