kiss-mfavila-small/ports/unofficial/stable/tcl/build

20 lines
483 B
Plaintext
Raw Normal View History

2021-05-09 02:10:08 -04:00
#!/bin/sh -e
IFS=. read -r maj min _ < "${0%/*}/version"
rm -rf pkgs/sqlite3*
2021-05-11 00:07:37 -04:00
unix/configure \
--prefix=/usr \
--mandir=/usr/share/man \
--enable-threads \
--enable-64bit \
--with-system-sqlite
2021-05-09 02:10:08 -04:00
make
make INSTALL_ROOT="$1" install install-private-headers
ln -s "/usr/bin/tclsh${maj}.${min}" "$1/usr/bin/tclsh"
ln -s "/usr/lib/libtcl${maj}.${min}.so" "$1/usr/lib/libtcl.so"
install -Dm644 -t "$1/usr/share/aclocal" unix/tcl.m4