aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Roy <julien@jroy.ca>2024-06-08 15:56:00 -0400
committerJulien Roy <julien@jroy.ca>2024-06-08 16:00:01 -0400
commit460255efd8f5aa47be1f0966609dc6b49ef025ad (patch)
tree8ec2581c5f63bae7d259ec6d7025d114f5280b95 /dev-embedded
parentprofiles: mask packages with missing dependencies (diff)
downloadguru-460255efd8f5aa47be1f0966609dc6b49ef025ad.tar.gz
guru-460255efd8f5aa47be1f0966609dc6b49ef025ad.tar.bz2
guru-460255efd8f5aa47be1f0966609dc6b49ef025ad.zip
Revert "dev-embedded/etlcpp: treeclean"
This reverts commit fc8dee5c427db57893a270a0566c8881601a3026. Signed-off-by: Julien Roy <julien@jroy.ca>
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/etlcpp/Manifest1
-rw-r--r--dev-embedded/etlcpp/etlcpp-20.35.8.ebuild25
-rw-r--r--dev-embedded/etlcpp/metadata.xml27
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-embedded/etlcpp/Manifest b/dev-embedded/etlcpp/Manifest
new file mode 100644
index 000000000..34285c205
--- /dev/null
+++ b/dev-embedded/etlcpp/Manifest
@@ -0,0 +1 @@
+DIST etlcpp-20.35.8.tar.gz 4413632 BLAKE2B b8292ea0395dbd0ef7d77d58dc2cb1cca16822da39054c1937e3f2a6b5828f9c2816e91b6c9ca4ef2088cdc691245d1aadf9f9c9283fa293265520c3fd4352db SHA512 d417760dd35ad5796f9ce8b7f96ac2d71f7b8e4896e5fc12e844912f34f867dee13582d2621521b5dfa66f21cd77abfd4e48a11e71fe87de2f98eaa6dcf6204f
diff --git a/dev-embedded/etlcpp/etlcpp-20.35.8.ebuild b/dev-embedded/etlcpp/etlcpp-20.35.8.ebuild
new file mode 100644
index 000000000..fd1ffd8d5
--- /dev/null
+++ b/dev-embedded/etlcpp/etlcpp-20.35.8.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="A C++ template library for embedded applications"
+HOMEPAGE="https://www.etlcpp.com/"
+SRC_URI="https://github.com/ETLCPP/etl/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+S="${WORKDIR}/etl-${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTS=$(usex test)
+ )
+ cmake_src_configure
+}
diff --git a/dev-embedded/etlcpp/metadata.xml b/dev-embedded/etlcpp/metadata.xml
new file mode 100644
index 000000000..ed0e59697
--- /dev/null
+++ b/dev-embedded/etlcpp/metadata.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <name>Jan Henke</name>
+ <email>gentoo@taujhe.de</email>
+ <description>Primary maintainer</description>
+</maintainer>
+ <longdescription>
+ C++ is a great language to use for embedded applications and templates are
+ a powerful aspect. The standard library can offer a great deal of well
+ tested functionality, but there are some parts of the standard library that
+ do not fit well with deterministic behaviour and limited resource
+ requirements. These limitations usually preclude the use of dynamically
+ allocated memory and containers with open ended sizes.
+
+ What is needed is a template library where the user can declare the size,
+ or maximum size of any object upfront. Most embedded compilers do not
+ currently support the standard beyond C++ 03, therefore excluding the
+ programmer from using the enhanced features of the later library.
+
+ This is what the ETL attempts to achieve.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">ETLCPP/etl</remote-id>
+ </upstream>
+</pkgmetadata>