1 |
commit: 42aff459397e549d0641c997298930e138ef0130 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 8 18:59:54 2021 +0000 |
4 |
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 8 19:00:29 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42aff459 |
7 |
|
8 |
sci-libs/linux-gpib-modules: Version bump |
9 |
|
10 |
Package-Manager: Portage-3.0.13, Repoman-3.0.2 |
11 |
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> |
12 |
|
13 |
sci-libs/linux-gpib-modules/Manifest | 1 + |
14 |
.../linux-gpib-modules-4.3.4.ebuild | 69 ++++++++++++++++++++++ |
15 |
2 files changed, 70 insertions(+) |
16 |
|
17 |
diff --git a/sci-libs/linux-gpib-modules/Manifest b/sci-libs/linux-gpib-modules/Manifest |
18 |
index 670d6729a24..86d2b29a7d8 100644 |
19 |
--- a/sci-libs/linux-gpib-modules/Manifest |
20 |
+++ b/sci-libs/linux-gpib-modules/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST linux-gpib-4.3.0.tar.gz 1375852 BLAKE2B e2daa444ddf4c0c34084f264247051d4ce1c8103d8ae5d91b02d4742131c1f92ded02775eb0f8b0ea29820e2ae7b61c3132c74084a876e86fbb4efaf11688773 SHA512 8db4eb6d606c68ffacc67988479684fec815fc552756a6c93466ef0dfc93368771bb551944e3afc31db83e72e464ec1fb289fdcf80b4a6be1617e734fe3b9d65 |
23 |
DIST linux-gpib-4.3.2.tar.gz 1377406 BLAKE2B 57ec8b3788606ffb42d204ad0e2476c432bc82f929b1854c6a1d48c73f48a149716d05b13906b4597a4bf03e4c10a0ffe2c66e6de8cf9a5891b86c3d459713fc SHA512 bf9963d885e0c974f41eed96359501bd41c7d4f051026f64d835e52f1031f39e6bba6ce976a27e660a8b36087e56b81205206066c68b42db9a1d578d351a8f8b |
24 |
DIST linux-gpib-4.3.3.tar.gz 1381420 BLAKE2B 0ee8c4d740272a55be03f07bd49c9a93d0ec4808465c9b0abc4ede2ee9ef4bcb8a48fb8c98617d007c8b7af970eae185de65094a8814b05cb81bfc983bf9df3e SHA512 91b2c345dc82778b757122dc41ae74138831223a73057ddf9f04d10b8f6a059760e17134378df46a1ecb13c42bec1383aced0f2446f803af425391193a77066e |
25 |
+DIST linux-gpib-4.3.4.tar.gz 1395770 BLAKE2B 3c7182ac127851ebf0f5416ea639d7f858c160ba00f01aa7f7e423f6fb7b3be5b089424d3a473497562d040c194483ebc93d8a2a0f64582fb8907b42e2c4b832 SHA512 397ad86883bf562b004673ae47218108d392f2a15121c95926ea38764e7a76b382cb199fd48c35c9777f34c8eb99965e3d4ea2028e86ce02bcda4bd23127cbd5 |
26 |
|
27 |
diff --git a/sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.4.ebuild b/sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.4.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..12044c6d1c2 |
30 |
--- /dev/null |
31 |
+++ b/sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.4.ebuild |
32 |
@@ -0,0 +1,69 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+inherit linux-info linux-mod toolchain-funcs |
39 |
+ |
40 |
+DESCRIPTION="Kernel modules for GPIB (IEEE 488.2) hardware" |
41 |
+HOMEPAGE="https://linux-gpib.sourceforge.io/" |
42 |
+SRC_URI="mirror://sourceforge/linux-gpib/linux-gpib-${PV}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-2" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm ~x86" |
47 |
+IUSE="debug" |
48 |
+ |
49 |
+COMMONDEPEND="" |
50 |
+RDEPEND="${COMMONDEPEND} |
51 |
+ acct-group/gpib |
52 |
+ !<sci-libs/linux-gpib-4.2.0_rc1 |
53 |
+" |
54 |
+DEPEND="${COMMONDEPEND} |
55 |
+ virtual/pkgconfig" |
56 |
+ |
57 |
+S=${WORKDIR}/linux-gpib-kernel-${PV} |
58 |
+ |
59 |
+pkg_setup() { |
60 |
+ linux-mod_pkg_setup |
61 |
+ |
62 |
+ if kernel_is -lt 2 6 8; then |
63 |
+ die "Kernel versions older than 2.6.8 are not supported." |
64 |
+ fi |
65 |
+} |
66 |
+ |
67 |
+src_unpack() { |
68 |
+ default |
69 |
+ unpack "${WORKDIR}/linux-gpib-${PV}/linux-gpib-kernel-${PV}.tar.gz" |
70 |
+} |
71 |
+ |
72 |
+src_configure() { |
73 |
+ set_arch_to_kernel |
74 |
+ |
75 |
+ my_gpib_makeopts='' |
76 |
+ use debug && my_gpib_makeopts+='GPIB-DEBUG=1 ' |
77 |
+ |
78 |
+ my_gpib_makeopts+="LINUX_SRCDIR=${KERNEL_DIR} " |
79 |
+} |
80 |
+ |
81 |
+src_compile() { |
82 |
+ set_arch_to_kernel |
83 |
+ emake \ |
84 |
+ DESTDIR="${D}" \ |
85 |
+ INSTALL_MOD_PATH="${D}" \ |
86 |
+ docdir=/usr/share/doc/${PF}/html \ |
87 |
+ ${my_gpib_makeopts} |
88 |
+} |
89 |
+ |
90 |
+src_install() { |
91 |
+ set_arch_to_kernel |
92 |
+ emake \ |
93 |
+ DESTDIR="${D}" \ |
94 |
+ INSTALL_MOD_PATH="${D}" \ |
95 |
+ DEPMOD="/bin/true" \ |
96 |
+ docdir=/usr/share/doc/${PF}/html \ |
97 |
+ ${my_gpib_makeopts} \ |
98 |
+ install |
99 |
+ |
100 |
+ dodoc ChangeLog AUTHORS README* NEWS |
101 |
+} |