summaryrefslogtreecommitdiffstats
path: root/dev-libs/libr/libr-14.1.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libr/libr-14.1.0.ebuild')
-rw-r--r--dev-libs/libr/libr-14.1.0.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-libs/libr/libr-14.1.0.ebuild b/dev-libs/libr/libr-14.1.0.ebuild
new file mode 100644
index 00000000..0acf0114
--- /dev/null
+++ b/dev-libs/libr/libr-14.1.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2023 Gentoo Authors
+# Copyright 2020-2023 The Trinity Desktop Project
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+TRINITY_MODULE_TYPE="dependencies"
+TRINITY_MODULE_NAME="libr"
+inherit trinity-base-2
+
+DESCRIPTION="ELF resource access and editing library"
+HOMEPAGE="https://trinitydesktop.org/"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+if [[ ${PV} != *9999* ]] ; then
+ KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+
+DEPEND="sys-libs/binutils-libs:="
+DEPEND="${RDEPEND}
+ app-doc/doxygen
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DWITH_BACKEND_LIBBFD=ON
+ -DWITH_BACKEND_LIBELF=OFF
+ -DWITH_BACKEND_READONLY=OFF
+ )
+ cmake_src_configure
+}