1 |
commit: c2c7e7257fae107de1f8401f18f2c563404b9bfc |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 18 13:14:11 2019 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 18 13:14:11 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2c7e725 |
7 |
|
8 |
sys-apps/s390-tools: EAPI bump, fix fuse slot |
9 |
|
10 |
Closes: https://bugs.gentoo.org/673676 |
11 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
12 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
13 |
|
14 |
sys-apps/s390-tools/s390-tools-2.4.0-r1.ebuild | 51 ++++++++++++++++++++++++++ |
15 |
1 file changed, 51 insertions(+) |
16 |
|
17 |
diff --git a/sys-apps/s390-tools/s390-tools-2.4.0-r1.ebuild b/sys-apps/s390-tools/s390-tools-2.4.0-r1.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..e970ee55b2d |
20 |
--- /dev/null |
21 |
+++ b/sys-apps/s390-tools/s390-tools-2.4.0-r1.ebuild |
22 |
@@ -0,0 +1,51 @@ |
23 |
+# Copyright 1999-2019 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=7 |
27 |
+ |
28 |
+inherit toolchain-funcs udev |
29 |
+ |
30 |
+DESCRIPTION="User space utilities for the zSeries (s390) Linux kernel and device drivers" |
31 |
+HOMEPAGE="https://www.ibm.com/developerworks/linux/linux390/s390-tools.html" |
32 |
+SRC_URI="https://github.com/ibm-s390-tools/s390-tools/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
33 |
+ |
34 |
+LICENSE="GPL-2 MIT" |
35 |
+SLOT="0" |
36 |
+KEYWORDS="-* ~s390" |
37 |
+IUSE="fuse ncurses pfm snmp zlib" |
38 |
+ |
39 |
+RDEPEND="fuse? ( sys-fs/fuse:0= ) |
40 |
+ ncurses? ( sys-libs/ncurses:0= ) |
41 |
+ pfm? ( app-misc/pfm ) |
42 |
+ snmp? ( net-analyzer/net-snmp ) |
43 |
+ zlib? ( sys-libs/zlib )" |
44 |
+DEPEND="${RDEPEND} |
45 |
+ dev-util/indent |
46 |
+ app-admin/genromfs" |
47 |
+ |
48 |
+src_configure() { |
49 |
+ export MAKEOPTS+=" V=1" |
50 |
+ export HAVE_DRACUT=0 |
51 |
+ export HAVE_FUSE=$(usex fuse 1 0) |
52 |
+ export HAVE_NCURSES=$(usex ncurses 1 0) |
53 |
+ export HAVE_SNMP=$(usex snmp 1 0) |
54 |
+ export HAVE_PFM=$(usex pfm 1 0) |
55 |
+ export HAVE_ZLIB=$(usex zlib 1 0) |
56 |
+ tc-export AR BUILD_CC CC CXX LD NM OBJCOPY |
57 |
+} |
58 |
+ |
59 |
+src_compile() { |
60 |
+ emake \ |
61 |
+ AR="${AR}" \ |
62 |
+ HOSTCC="${BUILD_CC}" \ |
63 |
+ CC="${CC}" LINK="${CC}" \ |
64 |
+ CXX="${CXX}" LINKXX="${CXX}" \ |
65 |
+ LD="${LD}" \ |
66 |
+ NM="${NM}" \ |
67 |
+ OBJCOPY="${OBJCOPY}" |
68 |
+} |
69 |
+ |
70 |
+src_install() { |
71 |
+ default |
72 |
+ udev_dorules etc/udev/rules.d/*.rules |
73 |
+} |