summaryrefslogtreecommitdiff
path: root/dev-lisp
diff options
context:
space:
mode:
authorHarald Judt <h.judt@gmx.at>2025-01-07 21:56:41 +0100
committerJoonas Niilola <juippis@gentoo.org>2025-02-10 15:28:03 +0200
commit0a0f6194a7e2ab1c78fe3d0c14a8b9d9059a11a2 (patch)
tree629fbe145c5b02a2a6f32e847502b3612fbd8c30 /dev-lisp
parent51bebcfaeee801017df6acc85159bfd95febb383 (diff)
downloadgentoo-0a0f6194a7e2ab1c78fe3d0c14a8b9d9059a11a2.tar.gz
gentoo-0a0f6194a7e2ab1c78fe3d0c14a8b9d9059a11a2.tar.bz2
gentoo-0a0f6194a7e2ab1c78fe3d0c14a8b9d9059a11a2.zip
dev-lisp/c2ffi: Port ebuild to llvm-r2
Bug: https://bugs.gentoo.org/945344 Signed-off-by: Harald Judt <h.judt@gmx.at> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-lisp')
-rw-r--r--dev-lisp/c2ffi/c2ffi-18.1.0.20240926-r1.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-lisp/c2ffi/c2ffi-18.1.0.20240926-r1.ebuild b/dev-lisp/c2ffi/c2ffi-18.1.0.20240926-r1.ebuild
new file mode 100644
index 000000000000..7b56798298b6
--- /dev/null
+++ b/dev-lisp/c2ffi/c2ffi-18.1.0.20240926-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2019-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_COMPAT=( 18 )
+
+inherit cmake llvm-r2
+
+MY_COMMIT="0de81efb64acc82c08c5eee4a7108ddcb1b00d86"
+
+DESCRIPTION="Clang-based FFI wrapper generator for Common Lisp"
+HOMEPAGE="https://github.com/rpav/c2ffi"
+SRC_URI="https://github.com/rpav/c2ffi/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/c2ffi-${MY_COMMIT}"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+ $(llvm_gen_dep '
+ llvm-core/clang:${LLVM_SLOT}=
+ llvm-core/llvm:${LLVM_SLOT}=
+ ')
+"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ llvm-r2_pkg_setup
+}