summaryrefslogtreecommitdiff
path: root/dev-libs/bitset
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [master] <gitlab@liguros.net>2021-03-01 00:37:58 +0000
committerLiguros - Gitlab CI/CD [master] <gitlab@liguros.net>2021-03-01 00:37:58 +0000
commit8ddb1a3d1229412a438971f82d37d518a0223726 (patch)
tree83438b5ddb9d23a390f1a3fc505303d3d2223bf2 /dev-libs/bitset
parent9acab46e1a820daece7b2e631485c157ce2210ad (diff)
downloadbaldeagleos-repo-21.1.5.tar.gz
baldeagleos-repo-21.1.5.tar.xz
baldeagleos-repo-21.1.5.zip
Adding metadatav21.1.5
Diffstat (limited to 'dev-libs/bitset')
-rw-r--r--dev-libs/bitset/bitset-2.8.4-r1.ebuild29
-rw-r--r--dev-libs/bitset/metadata.xml25
2 files changed, 35 insertions, 19 deletions
diff --git a/dev-libs/bitset/bitset-2.8.4-r1.ebuild b/dev-libs/bitset/bitset-2.8.4-r1.ebuild
index 420af9b499c2..74a48300b7fc 100644
--- a/dev-libs/bitset/bitset-2.8.4-r1.ebuild
+++ b/dev-libs/bitset/bitset-2.8.4-r1.ebuild
@@ -1,10 +1,9 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
+EAPI=7
-AUTOTOOLS_AUTORECONF=1
-inherit autotools-utils
+inherit autotools
DESCRIPTION="A compressed bitset with supporting data structures and algorithms"
HOMEPAGE="https://github.com/chriso/bitset"
@@ -15,21 +14,37 @@ SLOT="0"
IUSE="jemalloc static-libs tcmalloc"
KEYWORDS="amd64 ~arm x86"
-RDEPEND="tcmalloc? ( dev-util/google-perftools:= )
- jemalloc? ( >=dev-libs/jemalloc-3.2 )"
+RDEPEND="
+ tcmalloc? ( dev-util/google-perftools:= )
+ jemalloc? ( >=dev-libs/jemalloc-3.2 )
+"
DEPEND="${RDEPEND}"
REQUIRED_USE="?? ( jemalloc tcmalloc )"
DOCS=( README.md )
+src_prepare() {
+ default
+ eautoreconf
+}
+
src_configure() {
local tcmalloc_lib_name='tcmalloc'
+
has_version dev-util/google-perftools[minimal] && tcmalloc_lib_name='tcmalloc_minimal'
+
local myeconfargs=(
$(use_with jemalloc) \
$(use_with tcmalloc) \
$(use_with tcmalloc tcmalloc-lib "${tcmalloc_lib_name}")
)
- autotools-utils_src_configure
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ find "${ED}" -name '*.la' -delete || die
}
diff --git a/dev-libs/bitset/metadata.xml b/dev-libs/bitset/metadata.xml
index 2ef258274aa2..9e0bf9853da8 100644
--- a/dev-libs/bitset/metadata.xml
+++ b/dev-libs/bitset/metadata.xml
@@ -1,14 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>pinkbyte@gentoo.org</email>
- <name>Sergey Popov</name>
- </maintainer>
- <use>
- <flag name="tcmalloc">Use tcmalloc from <pkg>dev-util/google-perftools</pkg> for allocations</flag>
- </use>
- <upstream>
- <remote-id type="github">chriso/bitset</remote-id>
- </upstream>
-</pkgmetadata>
+ <maintainer type="person">
+ <email>pinkbyte@gentoo.org</email>
+ <name>Sergey Popov</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">chriso/bitset</remote-id>
+ </upstream>
+ <use>
+ <flag name="tcmalloc">Use tcmalloc from <pkg>dev-util/google-perftools</pkg> for allocations</flag>
+ </use>
+ <origin>gentoo-staging</origin>
+</pkgmetadata> \ No newline at end of file