summaryrefslogtreecommitdiffstats
path: root/dev-libs/libr/libr-14.0.13.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libr/libr-14.0.13.ebuild')
-rw-r--r--dev-libs/libr/libr-14.0.13.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-libs/libr/libr-14.0.13.ebuild b/dev-libs/libr/libr-14.0.13.ebuild
new file mode 100644
index 00000000..9b2c08db
--- /dev/null
+++ b/dev-libs/libr/libr-14.0.13.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2022 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
+}