1 |
commit: 45bad3cbb128c70f010e45c3dc1ebaf730403736 |
2 |
Author: Dr. Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Nov 24 14:59:23 2022 +0000 |
4 |
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 24 19:17:36 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45bad3cb |
7 |
|
8 |
sci-libs/linux-gpib-modules: Remove old |
9 |
|
10 |
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> |
11 |
|
12 |
sci-libs/linux-gpib-modules/Manifest | 1 - |
13 |
.../linux-gpib-modules-4.3.4-r1.ebuild | 72 ---------------------- |
14 |
2 files changed, 73 deletions(-) |
15 |
|
16 |
diff --git a/sci-libs/linux-gpib-modules/Manifest b/sci-libs/linux-gpib-modules/Manifest |
17 |
index 2a39735224a0..16bfdea8a5f6 100644 |
18 |
--- a/sci-libs/linux-gpib-modules/Manifest |
19 |
+++ b/sci-libs/linux-gpib-modules/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST linux-gpib-4.3.4.tar.gz 1395770 BLAKE2B 3c7182ac127851ebf0f5416ea639d7f858c160ba00f01aa7f7e423f6fb7b3be5b089424d3a473497562d040c194483ebc93d8a2a0f64582fb8907b42e2c4b832 SHA512 397ad86883bf562b004673ae47218108d392f2a15121c95926ea38764e7a76b382cb199fd48c35c9777f34c8eb99965e3d4ea2028e86ce02bcda4bd23127cbd5 |
22 |
DIST linux-gpib-4.3.5.tar.gz 1462624 BLAKE2B fff30ed1a7abc18cd4317e8f8979ef4014a532baab8c014f9a2eaa3338a2e8e8b672214d3f2b3f44066be15f432861a3fe3d67652f6966e73e561d99ff1e1566 SHA512 018cc255922a6335f8d28418b0a0808c3a369506470d9c81432ac7183ae255217d938a419e10ba2b0c44205a9d901405ce00ad5bdd968db2721cedd83baa2f76 |
23 |
|
24 |
diff --git a/sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.4-r1.ebuild b/sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.4-r1.ebuild |
25 |
deleted file mode 100644 |
26 |
index 40897bc634f4..000000000000 |
27 |
--- a/sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.4-r1.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,72 +0,0 @@ |
30 |
-# Copyright 1999-2022 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=8 |
34 |
- |
35 |
-inherit linux-info linux-mod |
36 |
- |
37 |
-DESCRIPTION="Kernel modules for GPIB (IEEE 488.2) hardware" |
38 |
-HOMEPAGE="https://linux-gpib.sourceforge.io/" |
39 |
-SRC_URI="mirror://sourceforge/linux-gpib/linux-gpib-${PV}.tar.gz" |
40 |
-S="${WORKDIR}/linux-gpib-kernel-${PV}" |
41 |
- |
42 |
-LICENSE="GPL-2" |
43 |
-SLOT="0" |
44 |
-KEYWORDS="amd64 ~arm ~x86" |
45 |
-IUSE="debug" |
46 |
- |
47 |
-COMMONDEPEND="" |
48 |
-RDEPEND="${COMMONDEPEND} |
49 |
- acct-group/gpib |
50 |
-" |
51 |
-DEPEND="${COMMONDEPEND}" |
52 |
-BDEPEND="virtual/pkgconfig" |
53 |
- |
54 |
-PATCHES=( |
55 |
- # https://sourceforge.net/p/linux-gpib/code/1998/ |
56 |
- "${FILESDIR}/${P}-kernel-5.17.patch" |
57 |
- |
58 |
- # don't fix debian bugs if they break gentoo |
59 |
- "${FILESDIR}/${P}-depmod.patch" |
60 |
-) |
61 |
- |
62 |
-pkg_setup() { |
63 |
- linux-mod_pkg_setup |
64 |
- |
65 |
- if kernel_is -lt 2 6 8; then |
66 |
- die "Kernel versions older than 2.6.8 are not supported." |
67 |
- fi |
68 |
-} |
69 |
- |
70 |
-src_unpack() { |
71 |
- default |
72 |
- unpack "${WORKDIR}/linux-gpib-${PV}/linux-gpib-kernel-${PV}.tar.gz" |
73 |
-} |
74 |
- |
75 |
-src_configure() { |
76 |
- set_arch_to_kernel |
77 |
- |
78 |
- my_gpib_makeopts='' |
79 |
- use debug && my_gpib_makeopts+='GPIB-DEBUG=1 ' |
80 |
- |
81 |
- my_gpib_makeopts+="LINUX_SRCDIR=${KERNEL_DIR} " |
82 |
-} |
83 |
- |
84 |
-src_compile() { |
85 |
- set_arch_to_kernel |
86 |
- emake \ |
87 |
- ${my_gpib_makeopts} |
88 |
-} |
89 |
- |
90 |
-src_install() { |
91 |
- set_arch_to_kernel |
92 |
- emake \ |
93 |
- DESTDIR="${ED}" \ |
94 |
- INSTALL_MOD_PATH="${ED}" \ |
95 |
- DEPMOD="/bin/true" \ |
96 |
- docdir="${ED}/usr/share/doc/${PF}/html" \ |
97 |
- ${my_gpib_makeopts} \ |
98 |
- install |
99 |
- |
100 |
- dodoc ChangeLog AUTHORS README* NEWS |
101 |
-} |