summaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-02-18 12:56:22 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-02-18 12:56:22 -0500
commit13984f725db156cbc952d0afe90f27da15a0b85d (patch)
treeb3a39b75ecaecca11ee1525a99153a7606e460cb /tcl
downloadspm_packages-13984f725db156cbc952d0afe90f27da15a0b85d.tar.gz
Initial commit
Diffstat (limited to 'tcl')
-rw-r--r--tcl/build.sh30
1 files changed, 30 insertions, 0 deletions
diff --git a/tcl/build.sh b/tcl/build.sh
new file mode 100644
index 0000000..429f87b
--- /dev/null
+++ b/tcl/build.sh
@@ -0,0 +1,30 @@
+#!/bin/bash
+name=tcl
+version=8.6.9
+revision=0
+sources=(
+ "https://prdownloads.sourceforge.net/${name}/${name}${version}-src.tar.gz"
+)
+build_depends=(
+ "automake"
+ "autoconf"
+)
+depends=(
+ "pcre"
+)
+
+function prepare() {
+ tar xf ${name}${version}-src.tar.gz
+ cd ${name}${version}
+}
+
+function build() {
+ cd unix
+ ./configure --prefix=${_prefix}
+ make -j${_maxjobs}
+}
+
+function package() {
+ make install DESTDIR="${_pkgdir}"
+ chmod 755 "${_pkgdir}/${_prefix}"/lib/*.so
+}