pantry/projects/tcl-lang.org/expect/package.yml
Jacob Heider d7adf09a43
replace hardcoded versions (mostly) (#1733)
* update(slirp)

* update(poppler-data)

* update(doxygen)

* update(xcb)

* update(sm)

* update(xdmcp)

* update(ice)

* update(util-macros)

* update(xtrans)

* update(xmu)

* update(xt)

* update(xau)

* update(xrender)

* update(x11)

* update(xcb-proto)

* update(xpm)

* update(xaw)

* update(xorg-protocol)

* update(exts)

* update(lame)

* update(nmap)

* update(cairo)

* update(unicode)

* update(gts)

* update(vim)

* update(libtiff)

* update(lua)

* comment(bpb)

* update(giflib)

* update(gdk-pixbuf)

* update(gobj-intro)

* update(libcap2)

* update(gnuplot)

* update(dav1d)

* update(wumpus)

* update(librist)

* update(subversion)

* comment(jbig2dec)

* update(moreutils)

* update(eigen)

* update(ogg)

* update(musl)

* update(libtool)

* update(isl)

* update(coreutils)

* update(wget)

* update(gmp)

* update(libiconv)

* update(stow)

* update(sed)

* update(gperf)

* update(libunistring)

* update(grep)

* update(patch)

* update(tar)

* update(autoconf)

* update(libgpg-error)

* update(automake)

* update(libksba)

* update(npth)

* update(libgcrypt)

* update(libidn)

* update(libassuan)

* update(gnupg)

* update(libtasn1)

* update(ncdu)

* update(freexl)

* update(nasm)

* update(ffmpeg)

* update(libsodium)

* update(mpg123)

* update(freetype)

* update(dnsmasq)

* update(postgres)

* update(xz)

* update(docutils)

* update(aom)

* update(libssh)

* update(gitlab-cli)

* update(watch)

* update(tree)

* update(c-ares)

* update(mpdecimal)

* update(lzo)

* update(graphviz)

* update(nano)

* update(yasm)

* update(expect)

* update(pcre)

* update(file)

* update(shared-mime-info)

* use `gitlab:` builtin
2023-05-01 13:14:59 -04:00

77 lines
1.6 KiB
YAML

distributable:
url: https://cytranet.dl.sourceforge.net/project/expect/Expect/{{ version.raw }}/expect{{ version.raw }}.tar.gz
strip-components: 1
versions:
url: https://sourceforge.net/projects/expect/files/Expect/
match: /Expect\/\d+(\.\d+)+\//
strip:
- /Expect\//
- /\//
dependencies:
tcl.tk/tcl: ^8
interprets:
extensions: exp
args: [expect, -f]
runtime:
env:
TCLLIBPATH: ${{prefix}}/lib
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
gnu.org/automake: '*'
gnu.org/autoconf: '*'
gnu.org/patch: '*'
script: |
# Config scripts are from 2003
autoreconf --force --install --verbose
./configure $ARGS
make --jobs {{ hw.concurrency }}
make install
cd {{prefix}}/lib
mv expect{{version}}/* .
rmdir expect{{version}}
env:
ARGS:
- --prefix={{ prefix }}
- --exec-prefix={{ prefix }}
- --with-tcl={{ deps.tcl.tk/tcl.prefix }}/lib
darwin:
# Works around Apple Clang 12+ "bug"
# https://core.tcl-lang.org/expect/tktview/0d5b33c00e5b4bbedb835498b0360d7115e832a0
CFLAGS: $CFLAGS -Wno-implicit-function-declaration
test:
script: test "$(echo 'Hello, World!' | timed-read 1)" = 'Hello, World!'
provides:
- bin/autoexpect
- bin/autopasswd
- bin/cryptdir
- bin/decryptdir
- bin/dislocate
- bin/expect
- bin/ftp-rfc
- bin/kibitz
- bin/lpunlock
- bin/mkpasswd
- bin/multixterm
- bin/passmass
- bin/rftp
- bin/rlogin-cwd
- bin/timed-read
- bin/timed-run
- bin/tknewsbiff
- bin/tkpasswd
- bin/unbuffer
- bin/weather
- bin/xkibitz
- bin/xpstat