diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-20 07:59:50 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-20 07:59:50 +0100 |
commit | 2eda3a3b8ebdb3fc8552feb6f49e466d3bc8e88c (patch) | |
tree | 69a469da2fa8c3f4920325ac5595300929f5d884 /dev-libs/pmdk | |
parent | 9ed0c42eb618229fa6f45e10155ee535e1f605a2 (diff) |
gentoo auto-resync : 20:10:2022 - 07:59:49
Diffstat (limited to 'dev-libs/pmdk')
-rw-r--r-- | dev-libs/pmdk/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/pmdk/pmdk-1.12.1.ebuild | 60 |
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-libs/pmdk/Manifest b/dev-libs/pmdk/Manifest index ea13eb253348..4270b19bcd83 100644 --- a/dev-libs/pmdk/Manifest +++ b/dev-libs/pmdk/Manifest @@ -1,3 +1,5 @@ +DIST pmdk-1.12.1.tar.gz 2694951 BLAKE2B 706748af77c5c097b6fff81ecbaca49aafaf207daf05ff20d11b37ffaa64e0d68e0c4eeda4e9c8b7f76f893e5a35496f7e81bc03f88bdef8d1a7d80aa20af17f SHA512 9b29b2038af42829b809a182ece292b6b8bfd003519c3b8f223ec3cba552da0a561477b0e7dbaf14ad7fee8120b136ded10e2d3e1bc6a4a10771051f9aeca683 DIST pmdk-1.9.2.tar.gz 2281358 BLAKE2B 2124055c9535a58d2904df20504ce17e51d8fb67aab2fd302b44d61e04fc40e7f622b6174bd7f8d4b978ff51386a6548cfbda4423be2764f36f8c8311cf54836 SHA512 da9f7863c346de2ec7874d5f920b5ef8e0de7bc87d2ca21ebc25056d6fde4e7753957d2a1b9d8ea26f53f0b828984d69efbd88ffac62d1a7403ef3bf9d33fa30 +EBUILD pmdk-1.12.1.ebuild 1208 BLAKE2B 7eaf227c26939779139a931942bc9c2548d9b8c9ab576cbec3e5fa3881a81113db214d034aa0214ccd191eb52f00493183b438a10b559cf0e7e210a86a92c243 SHA512 578e19957a1f678397dd28f2dd5118dda5f454a4ab4ad5c3df3bb235ce83f5e95a87843682fdf44fdde75d0a62456d38e780ab2529982f91ba5732f08fecea74 EBUILD pmdk-1.9.2.ebuild 1065 BLAKE2B 8e36c4dc2c2d255fc5b3bbffeafddf4e634185f0cc6a6a55c3428ab38e440b139924a51855e542d443c9ef7571472ec5c029c8e912102294417fc47a135878c0 SHA512 c7610b21f9f2d2563dff9472c2cb48056213fb331da3c005874b4681ab9238b8ead60645ca5bcc56ada9df3d7121cf17e3e78b17720f61ef5717466d8db9d15d MISC metadata.xml 250 BLAKE2B 0b272f56e53b7d76c6d5c253fbe5d7c4c9a1d7b58c21e2f59b8323a5f5cd2791c64651fdfa243a8f560ac9c0a0ff38fcffdc24290fa6d18100da0cadffc19845 SHA512 076f0dbffbab6987cfab48a5ff3631789190c570c35515cc77de5757760f19a8ad615f642e7d61b12344ffc77c599e6ff8b79b67329e69929fdd19a7c80723ff diff --git a/dev-libs/pmdk/pmdk-1.12.1.ebuild b/dev-libs/pmdk/pmdk-1.12.1.ebuild new file mode 100644 index 000000000000..697268f890a8 --- /dev/null +++ b/dev-libs/pmdk/pmdk-1.12.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 2022 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_test() { + touch src/test/testconfig.sh || die + + emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" AR="$(tc-getAR)" test || die +} + +src_install() { + emake install prefix=/usr sysconfdir=/etc DESTDIR="${ED}" +} |