summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/ada')
-rw-r--r--dev-cpp/ada/Manifest1
-rw-r--r--dev-cpp/ada/ada-2.9.1.ebuild26
-rw-r--r--dev-cpp/ada/metadata.xml15
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-cpp/ada/Manifest b/dev-cpp/ada/Manifest
new file mode 100644
index 000000000000..04842d7450dc
--- /dev/null
+++ b/dev-cpp/ada/Manifest
@@ -0,0 +1 @@
+DIST ada-2.9.1.tar.gz 384701 BLAKE2B ad4a03100de06179c71c4d368cc349a630f8273550840cb19ba3e0cc4d296bfc59fa827bd3ea261609e4f80ebd2adbe7be1450040b519be5844febdcbc55f0f6 SHA512 74bad3f234dfe7b72e2057583e077e6a0f78f34b9c699751972d079b8027ef2dc34e6ef07c0dedeb923d8979f91c58a8a90473e69152c89e76baaa3659fa575b
diff --git a/dev-cpp/ada/ada-2.9.1.ebuild b/dev-cpp/ada/ada-2.9.1.ebuild
new file mode 100644
index 000000000000..c87e72f6e853
--- /dev/null
+++ b/dev-cpp/ada/ada-2.9.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="WHATWG-compliant and fast URL parser written in modern C++"
+HOMEPAGE="https://github.com/ada-url/ada"
+
+SRC_URI="https://github.com/ada-url/ada/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0 MIT"
+SLOT="0/$(ver_cut 1)"
+KEYWORDS="~amd64"
+RESTRICT="test"
+
+src_configure() {
+ local mycmakeargs=(
+ # Building anything other than the library requires the CPM package manager
+ # which isn't very well equipped for packaging...
+ -DADA_TESTING=NO
+ -DADA_TOOLS=NO
+ )
+ cmake_src_configure
+}
diff --git a/dev-cpp/ada/metadata.xml b/dev-cpp/ada/metadata.xml
new file mode 100644
index 000000000000..c71625e8a5e4
--- /dev/null
+++ b/dev-cpp/ada/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>esteve.varela@gmail.com</email>
+ <name>Esteve Varela Colominas</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">ada-url/ada</remote-id>
+ </upstream>
+</pkgmetadata>