aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAisha Tammy <gentoo@aisha.cc>2020-09-25 22:03:00 +0000
committerAisha Tammy <gentoo@aisha.cc>2020-09-25 22:03:00 +0000
commit0bfd4c21b048fd9324e908477e9c1b501f5bea34 (patch)
tree9f60991eeb6f29d6dd9a114c15bc0aaa8826ae63 /dev-cpp
parentvirtual/perl-encoding-warnings: drop redundant virtual (diff)
downloadsci-0bfd4c21b048fd9324e908477e9c1b501f5bea34.tar.gz
sci-0bfd4c21b048fd9324e908477e9c1b501f5bea34.tar.bz2
sci-0bfd4c21b048fd9324e908477e9c1b501f5bea34.zip
dev-cpp/xor_singleheader: move to dev-cpp
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/xor_singleheader/Manifest1
-rw-r--r--dev-cpp/xor_singleheader/metadata.xml12
-rw-r--r--dev-cpp/xor_singleheader/xor_singleheader-0_p20012020.ebuild31
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-cpp/xor_singleheader/Manifest b/dev-cpp/xor_singleheader/Manifest
new file mode 100644
index 000000000..e0b53a92c
--- /dev/null
+++ b/dev-cpp/xor_singleheader/Manifest
@@ -0,0 +1 @@
+DIST xor_singleheader-0_p20012020.tar.gz 196021 BLAKE2B 1eb25b79f6c28971024374e9c6028965dccc7c18cac1f4f13349d2b392a5c852e81331b0b625194835293d6da672bf35f8720a44c0bbe3c8872b422125aa8017 SHA512 fe0d40c9b1d6dfb6aeeb26439ce06860f8781adbce0fdd7d1aa1037372a9f463690638270365871e0a79a8b3be7e067eb80fca6ee1525b9434afddbe9fdc1f78
diff --git a/dev-cpp/xor_singleheader/metadata.xml b/dev-cpp/xor_singleheader/metadata.xml
new file mode 100644
index 000000000..e97c4322a
--- /dev/null
+++ b/dev-cpp/xor_singleheader/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gentoo@aisha.cc</email>
+ <name>Aisha Tammy</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-cpp/xor_singleheader/xor_singleheader-0_p20012020.ebuild b/dev-cpp/xor_singleheader/xor_singleheader-0_p20012020.ebuild
new file mode 100644
index 000000000..005e4a582
--- /dev/null
+++ b/dev-cpp/xor_singleheader/xor_singleheader-0_p20012020.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="single header library for fast XOR filters"
+HOMEPAGE="https://github.com/FastFilter/xor_singleheader"
+
+COMMIT=6cea6a4dcf2f18a0e3b9b9e0b94d6012b804ffa1
+SRC_URI="https://github.com/FastFilter/xor_singleheader/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}"/${PN}-${COMMIT}
+KEYWORDS="~amd64"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+src_compile() {
+ if use test ; then
+ default
+ fi
+}
+
+src_install() {
+ doheader include/{fusefilter,xorfilter}.h
+}
+
+src_test() {
+ "${S}"/unit || die "failed unittests"
+}