diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-03-30 23:00:12 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-03-30 23:00:12 -0400 |
commit | 0f7fc864d98d3e8a852d3a6a835ae3331fde1bad (patch) | |
tree | 24b4ac4b7a476b0bb1607476531c5ba1a5f63a7e /tk | |
parent | 39c272221a8baf3b3f2768d9de4f61abea57cf1f (diff) | |
download | spm_packages-0f7fc864d98d3e8a852d3a6a835ae3331fde1bad.tar.gz |
Current state
Diffstat (limited to 'tk')
-rw-r--r-- | tk/build.sh | 10 |
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 } |