1 |
commit: 63604d277064f49df5910b728cc342b13852727e |
2 |
Author: Andreas K. Huettel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 28 14:15:37 2019 +0000 |
4 |
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 28 14:15:37 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63604d27 |
7 |
|
8 |
sci-libs/linux-gpib-modules: drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.67, Repoman-2.3.13 |
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.2.0_rc1.ebuild | 85 ---------------------- |
15 |
2 files changed, 86 deletions(-) |
16 |
|
17 |
diff --git a/sci-libs/linux-gpib-modules/Manifest b/sci-libs/linux-gpib-modules/Manifest |
18 |
index 83109bf752c..994c2964211 100644 |
19 |
--- a/sci-libs/linux-gpib-modules/Manifest |
20 |
+++ b/sci-libs/linux-gpib-modules/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
DIST linux-gpib-4.2.0.tar.gz 1431440 BLAKE2B 7b6adf562963e0785f960c072f3f3d67cb91df9090205d8fecb0dc3170d3a1ac3719732919bae112e06b47387499ffe49a0144e72caa27ba39c85c8b98e56786 SHA512 1505c2c04f16bf7e92b9dd474f09edd242520a96f9e4d8eea88ebd44d0a82d653055155c1bfcde69da5355d609d400e3cb682da8aae83f59f1e565307a3fc4a7 |
23 |
-DIST linux-gpib-kernel-4.2.0_rc1.tar.gz 332525 BLAKE2B e84f9da9902d139474cf68e49922f7b402c6d11113eab8c009683c1b4304a505eb6aba86a60b019e4d3ad0ef1d003c743f14f60b61b3d7f31e8aeca99a4a16c1 SHA512 8bf1a2b04d6128c513c5d13549fb95e563e719e43ffb3b303fc5aa2376f57a69774c1afdb901281933f6b253068461ce59bd9564146a0c5a6483e1ccc47d259f |
24 |
|
25 |
diff --git a/sci-libs/linux-gpib-modules/linux-gpib-modules-4.2.0_rc1.ebuild b/sci-libs/linux-gpib-modules/linux-gpib-modules-4.2.0_rc1.ebuild |
26 |
deleted file mode 100644 |
27 |
index b08d9a3d45a..00000000000 |
28 |
--- a/sci-libs/linux-gpib-modules/linux-gpib-modules-4.2.0_rc1.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,85 +0,0 @@ |
31 |
-# Copyright 1999-2018 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=6 |
35 |
- |
36 |
-inherit linux-info linux-mod autotools toolchain-funcs |
37 |
- |
38 |
-MY_PN=${PN/modules/kernel} |
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/${MY_PN}-${PV}.tar.gz" |
43 |
- |
44 |
-LICENSE="GPL-2" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="~amd64 ~arm ~x86" |
47 |
-IUSE="isa pcmcia debug" |
48 |
- |
49 |
-COMMONDEPEND="" |
50 |
-RDEPEND="${COMMONDEPEND} |
51 |
- !<sci-libs/linux-gpib-4.2.0_rc1 |
52 |
-" |
53 |
-DEPEND="${COMMONDEPEND} |
54 |
- virtual/pkgconfig" |
55 |
- |
56 |
-PATCHES=( |
57 |
- "${FILESDIR}"/${PN}-4.2.0_rc1-reallydie.patch |
58 |
-) |
59 |
- |
60 |
-S=${WORKDIR}/${MY_PN}-${PV} |
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 |
- # https://sourceforge.net/p/linux-gpib/bugs/43/ |
70 |
- if use pcmcia && kernel_is -ge 2 6 38; then |
71 |
- die "pcmcia support is broken on kernels newer 2.6.38" |
72 |
- fi |
73 |
-} |
74 |
- |
75 |
-src_prepare () { |
76 |
- default |
77 |
- eautoreconf |
78 |
-} |
79 |
- |
80 |
-src_configure() { |
81 |
- set_arch_to_kernel |
82 |
- econf \ |
83 |
- $(use_enable isa) \ |
84 |
- $(use_enable pcmcia) \ |
85 |
- $(use_enable debug driver-debug) \ |
86 |
- --with-linux-srcdir=${KV_DIR} |
87 |
-} |
88 |
- |
89 |
-src_compile() { |
90 |
- set_arch_to_kernel |
91 |
- emake \ |
92 |
- DESTDIR="${D}" \ |
93 |
- INSTALL_MOD_PATH="${D}" \ |
94 |
- docdir=/usr/share/doc/${PF}/html |
95 |
-} |
96 |
- |
97 |
-src_install() { |
98 |
- set_arch_to_kernel |
99 |
- emake \ |
100 |
- DESTDIR="${D}" \ |
101 |
- INSTALL_MOD_PATH="${D}" \ |
102 |
- DEPMOD="/bin/true" \ |
103 |
- docdir=/usr/share/doc/${PF}/html install |
104 |
- |
105 |
- dodoc ChangeLog AUTHORS README* NEWS |
106 |
-} |
107 |
- |
108 |
-pkg_preinst () { |
109 |
- linux-mod_pkg_preinst |
110 |
- enewgroup gpib |
111 |
-} |
112 |
- |
113 |
-pkg_postinst () { |
114 |
- linux-mod_pkg_postinst |
115 |
-} |