summaryrefslogtreecommitdiff
path: root/dev-cpp/libecbor/libecbor-1.0.1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/libecbor/libecbor-1.0.1.ebuild')
-rw-r--r--dev-cpp/libecbor/libecbor-1.0.1.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-cpp/libecbor/libecbor-1.0.1.ebuild b/dev-cpp/libecbor/libecbor-1.0.1.ebuild
new file mode 100644
index 0000000..a3bd68a
--- /dev/null
+++ b/dev-cpp/libecbor/libecbor-1.0.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib
+
+DESCRIPTION="CBOR library for both desktop and embedded applications"
+HOMEPAGE="https://github.com/rimio/libecbor"
+SRC_URI="https://github.com/rimio/libecbor/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+RESTRICT="mirror"
+
+LICENSE="MIT"
+SLOT="1.0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}/${P}-security.patch"
+ "${FILESDIR}/${P}-no-output-dirs.patch"
+)