From 1c0a756c16e77a09ed85a420a2d2a57b840591cb Mon Sep 17 00:00:00 2001 From: Eloi Torrents Date: Mon, 15 Apr 2024 19:24:55 +0200 Subject: [PATCH] New package: tcl-Ffidl-0.9 --- srcpkgs/tcl-Ffidl/patches/platform.patch | 13 +++++++++++++ srcpkgs/tcl-Ffidl/template | 18 ++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 srcpkgs/tcl-Ffidl/patches/platform.patch create mode 100644 srcpkgs/tcl-Ffidl/template diff --git a/srcpkgs/tcl-Ffidl/patches/platform.patch b/srcpkgs/tcl-Ffidl/patches/platform.patch new file mode 100644 index 00000000000000..2d88b4e8636698 --- /dev/null +++ b/srcpkgs/tcl-Ffidl/patches/platform.patch @@ -0,0 +1,13 @@ +diff --git a/configure b/configure +index b94fc49..752788c 100755 +--- a/configure ++++ b/configure +@@ -3758,7 +3758,7 @@ if ac_fn_c_try_compile "$LINENO"; then : + + else + +- TEA_PLATFORM="windows" ++ TEA_PLATFORM="unix" + # Extract the first word of "cygpath", so it can be a program name with args. + set dummy cygpath; ac_word=$2 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 diff --git a/srcpkgs/tcl-Ffidl/template b/srcpkgs/tcl-Ffidl/template new file mode 100644 index 00000000000000..027b62a59ed441 --- /dev/null +++ b/srcpkgs/tcl-Ffidl/template @@ -0,0 +1,18 @@ +# Template file for 'tcl-Ffidl' +pkgname=tcl-Ffidl +version=0.9 +revision=1 +build_style=gnu-configure +hostmakedepends="pkg-config" +makedepends="tcl-devel libffi-devel" +short_desc="Extend Tcl without extensions" +maintainer="Eloi Torrents " +license="MIT" +homepage="https://prs-de.github.io/ffidl" +changelog="ihttps://prs-de.github.io/ffidl/#changelog" +distfiles="https://github.com/prs-de/ffidl/archive/refs/tags/${version}.tar.gz" +checksum=756baf3e57385cdd0656bf1e4e7556b520ef27c733275753818411c733bd5983 + +post_install() { + vlicense license.terms +}