summaryrefslogtreecommitdiff
path: root/tk
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-03-30 23:00:12 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-03-30 23:00:12 -0400
commit0f7fc864d98d3e8a852d3a6a835ae3331fde1bad (patch)
tree24b4ac4b7a476b0bb1607476531c5ba1a5f63a7e /tk
parent39c272221a8baf3b3f2768d9de4f61abea57cf1f (diff)
downloadspm_packages-0f7fc864d98d3e8a852d3a6a835ae3331fde1bad.tar.gz
Current state
Diffstat (limited to 'tk')
-rw-r--r--tk/build.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/tk/build.sh b/tk/build.sh
index 46c57af..b14a82a 100644
--- a/tk/build.sh
+++ b/tk/build.sh
@@ -7,11 +7,12 @@ sources=(
"https://prdownloads.sourceforge.net/tcl/${name}${version_full}-src.tar.gz"
)
build_depends=(
+ "pkgconf"
"tar"
- "automake"
"tcl==${version}"
)
depends=(
+ "libX11"
"tcl==${version}"
)
@@ -22,11 +23,16 @@ function prepare() {
function build() {
cd unix
- ./configure --prefix=${_prefix} --with-tcl=${build_runtime}/lib
+ ./configure --prefix=${_prefix} \
+ --with-tcl=${_runtime}/lib \
+ --with-x
make -j${_maxjobs}
}
function package() {
make install DESTDIR="${_pkgdir}"
+ pushd "${_pkgdir}/${_prefix}"/bin
+ ln -s "${_pkgdir}/${_prefix}"/bin/wish${version%.*} wish
+ popd
chmod 755 "${_pkgdir}/${_prefix}"/lib/*.so
}