1 |
commit: d25941724f858b005cd9692079c955837fd84600 |
2 |
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc> |
3 |
AuthorDate: Wed Dec 23 02:08:16 2020 +0000 |
4 |
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc> |
5 |
CommitDate: Wed Dec 23 02:08:22 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=d2594172 |
7 |
|
8 |
sys-apps/ndctl: version bump to 71.1 |
9 |
|
10 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
11 |
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc> |
12 |
|
13 |
sys-apps/ndctl/ndctl-71.1.ebuild | 60 ++++++++++++++++++++++++++++++++++++++++ |
14 |
1 file changed, 60 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/ndctl/ndctl-71.1.ebuild b/sys-apps/ndctl/ndctl-71.1.ebuild |
17 |
new file mode 100644 |
18 |
index 000000000..60cc559bf |
19 |
--- /dev/null |
20 |
+++ b/sys-apps/ndctl/ndctl-71.1.ebuild |
21 |
@@ -0,0 +1,60 @@ |
22 |
+# Copyright 1999-2020 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+ |
27 |
+inherit autotools bash-completion-r1 linux-info systemd |
28 |
+ |
29 |
+DESCRIPTION="utility for managing the nvdimm sub-system in the linux kernel" |
30 |
+HOMEPAGE="https://pmem.io" |
31 |
+ |
32 |
+if [[ ${PV} == 9999 ]]; then |
33 |
+ inherit git-r3 |
34 |
+ EGIT_REPO_URI="https://github.com/pmem/ndctl" |
35 |
+else |
36 |
+ SRC_URI="https://github.com/pmem/ndctl/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
37 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
38 |
+fi |
39 |
+ |
40 |
+LICENSE="LGPL-2.1" |
41 |
+SLOT="0" |
42 |
+RESTRICT="test" |
43 |
+ |
44 |
+RDEPEND=" |
45 |
+ dev-libs/json-c |
46 |
+ sys-apps/keyutils |
47 |
+ sys-apps/kmod |
48 |
+ sys-apps/util-linux |
49 |
+ virtual/udev |
50 |
+" |
51 |
+DEPEND="${RDEPEND}" |
52 |
+BDEPEND=" |
53 |
+ app-text/asciidoc |
54 |
+ app-text/xmlto |
55 |
+ virtual/pkgconfig |
56 |
+" |
57 |
+ |
58 |
+CONFIG_CHECK="~BLK_DEV_RAM_DAX ~FS_DAX ~X86_PMEM_LEGACY ~LIBNVDIMM ~BLK_DEV_PMEM \ |
59 |
+~ARCH_HAS_PMEM_API ~TRANSPARENT_HUGEPAGE ~MEMORY_HOTPLUG ~MEMORY_HOTREMOVE \ |
60 |
+~ZONE_DEVICE ~FS_DAX_PMD" |
61 |
+ |
62 |
+src_prepare() { |
63 |
+ "${S}"/git-version-gen |
64 |
+ default |
65 |
+ eautoreconf |
66 |
+} |
67 |
+ |
68 |
+src_configure() { |
69 |
+ econf \ |
70 |
+ --disable-asciidoctor \ |
71 |
+ --without-bash \ |
72 |
+ --without-systemd \ |
73 |
+ --with-keyutils |
74 |
+} |
75 |
+ |
76 |
+src_install() { |
77 |
+ emake DESTDIR="${D}" install |
78 |
+ |
79 |
+ dobashcomp contrib/${PN} |
80 |
+ systemd_dounit ${PN}/ndctl-monitor.service |
81 |
+} |