diff options
| author | Shokara Kou <shokara@kalli.st> | 2021-12-12 18:11:20 -0500 |
|---|---|---|
| committer | Shokara Kou <shokara@kalli.st> | 2021-12-12 18:11:20 -0500 |
| commit | ac0a30b7d44952b8faf4ac3c4e521ee2dff04135 (patch) | |
| tree | b501a0a8b6f2ea2532bae287c9545cf5400d9aac /tk/Pkgfile | |
add ports
Ahhh! I forgot to put these under a git repo. :(
Diffstat (limited to 'tk/Pkgfile')
| -rw-r--r-- | tk/Pkgfile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tk/Pkgfile b/tk/Pkgfile new file mode 100644 index 0000000..4eab78a --- /dev/null +++ b/tk/Pkgfile | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | # Description: Tool Command Language, the language and library | ||
| 2 | # URL: https://core.tcl-lang.org/tk/ | ||
| 3 | # Maintainer: Shokara Kou, shokara at kalli dot st | ||
| 4 | |||
| 5 | name=tk | ||
| 6 | version=8.6.12 | ||
| 7 | release=1 | ||
| 8 | source=(https://core.tcl-lang.org/$name/tarball/release/$name-$version.tar.gz) | ||
| 9 | |||
| 10 | build() { | ||
| 11 | cd $name-$version/unix | ||
| 12 | |||
| 13 | ./configure \ | ||
| 14 | --prefix=/usr | ||
| 15 | # configure script doesn't appear to have a way to disable docs | ||
| 16 | sed -i 's/^all:.*doc/all: binaries libraries/' Makefile | ||
| 17 | |||
| 18 | make | ||
| 19 | make DESTDIR=$PKG install | ||
| 20 | |||
| 21 | rm -fr $PKG/share/doc | ||
| 22 | |||
| 23 | cd $PKG/usr/bin | ||
| 24 | ln -s /usr/bin/wish8.6 wish | ||
| 25 | } | ||
