From: "Patrick McLean" <chutzpah@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/pmdk/
Date: Fri, 26 Feb 2021 00:44:20 +0000 (UTC) [thread overview]
Message-ID: <1614300181.64840620f651b349780d307947c2740822769523.chutzpah@gentoo> (raw)
commit: 64840620f651b349780d307947c2740822769523
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Thu Feb 25 23:02:31 2021 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Fri Feb 26 00:43:01 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64840620
dev-libs/pmdk: New package
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.15, Repoman-3.0.2
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
dev-libs/pmdk/Manifest | 1 +
dev-libs/pmdk/metadata.xml | 8 ++++++
dev-libs/pmdk/pmdk-1.9.2.ebuild | 54 +++++++++++++++++++++++++++++++++++++++++
3 files changed, 63 insertions(+)
diff --git a/dev-libs/pmdk/Manifest b/dev-libs/pmdk/Manifest
new file mode 100644
index 00000000000..87bb846ceb1
--- /dev/null
+++ b/dev-libs/pmdk/Manifest
@@ -0,0 +1 @@
+DIST pmdk-1.9.2.tar.gz 2281358 BLAKE2B 2124055c9535a58d2904df20504ce17e51d8fb67aab2fd302b44d61e04fc40e7f622b6174bd7f8d4b978ff51386a6548cfbda4423be2764f36f8c8311cf54836 SHA512 da9f7863c346de2ec7874d5f920b5ef8e0de7bc87d2ca21ebc25056d6fde4e7753957d2a1b9d8ea26f53f0b828984d69efbd88ffac62d1a7403ef3bf9d33fa30
diff --git a/dev-libs/pmdk/metadata.xml b/dev-libs/pmdk/metadata.xml
new file mode 100644
index 00000000000..cee379b1540
--- /dev/null
+++ b/dev-libs/pmdk/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>chutzpah@gentoo.org</email>
+ <name>Patrick McLean</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-libs/pmdk/pmdk-1.9.2.ebuild b/dev-libs/pmdk/pmdk-1.9.2.ebuild
new file mode 100644
index 00000000000..245e99c6fe1
--- /dev/null
+++ b/dev-libs/pmdk/pmdk-1.9.2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs flag-o-matic
+
+DESCRIPTION="Persistent Memory Development Kit"
+HOMEPAGE="https://pmem.io/ https://github.com/pmem/pmdk"
+SRC_URI="https://github.com/pmem/pmdk/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/1"
+KEYWORDS="~amd64"
+
+DEPEND="
+ sys-block/ndctl:=
+ sys-block/libfabric:=
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ app-text/pandoc
+ virtual/pkgconfig
+"
+
+DOCS=(
+ CODING_STYLE.md
+ CONTRIBUTING.md
+ ChangeLog
+ README.md
+)
+
+src_prepare() {
+ default
+
+ # don't pre-compress man pages
+ sed -e 's/:=.gz//g ; s:gzip -nc:cat:g' -i doc/Makefile || die
+
+ # remove -Werror
+ find . -name 'Makefile*' -type f -print | xargs sed 's:-Werror::g' -i || die
+}
+
+src_configure() {
+ # doesn't build with -mindirect-branch=thunk
+ filter-flags -mindirect-branch=thunk
+}
+
+src_compile() {
+ emake DEBUG= CC=$(tc-getCC) CXX=$(tc-getCXX) LD=$(tc-getLD) AR=$(tc-getAR)
+}
+
+src_install() {
+ emake install prefix=/usr sysconfdir=/etc DESTDIR="${ED}"
+}
next reply other threads:[~2021-02-26 0:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-26 0:44 Patrick McLean [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-03-20 0:05 [gentoo-commits] repo/gentoo:master commit in: dev-libs/pmdk/ Sam James
2022-10-20 1:27 Patrick McLean
2023-06-08 22:35 Sam James
2025-06-09 13:59 Patrick Lauer
2025-06-11 15:30 Andreas Sturmlechner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1614300181.64840620f651b349780d307947c2740822769523.chutzpah@gentoo \
--to=chutzpah@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox