[build] type = "autotools" [build.flags] configure = [ "--with-tcl=/usr/lib", "--enable-shared", "--disable-rpath", "--mandir=/usr/share/man", "--with-tclinclude=/usr/include", ] post_install = ["ln -svf expect$version/libexpect$version.so $DESTDIR/usr/lib"] source_subdir = "expect$version" [dependencies] runtime = ["tcl"] [package] description = "tools for automating, via scripted dialogues, interactive applications such as telnet, ftp, passwd, fsck, rlogin, and tip" homepage = "https://www.nist.gov/el/msid/expect.cfm" license = "custom" name = "expect" version = "5.45.4" [[source]] extract_dir = "$name-$version" sha256 = "md5:00fce8de158422f5ccd2666512329bd2" url = "https://sourceforge.net/projects/expect/files/Expect/$version/expect$version.tar.gz" post_extract = [ "patch -Np0 -i $DEPOT_SPECDIR/expect-5.45.4-gcc15-1.patch" ] [[manual_sources]] file = "expect-$version-gcc15-1.patch" sha256 = "skip"