1 |
commit: 8f1a11e8712bec63ed238f06ef76e9928c88b80a |
2 |
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 28 12:52:48 2021 +0000 |
4 |
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 28 17:33:09 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f1a11e8 |
7 |
|
8 |
sys-apps/hwinfo: drop old |
9 |
|
10 |
Package-Manager: Portage-3.0.24, Repoman-3.0.3 |
11 |
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> |
12 |
|
13 |
sys-apps/hwinfo/Manifest | 1 - |
14 |
sys-apps/hwinfo/hwinfo-21.74.ebuild | 61 ------------------------------------- |
15 |
2 files changed, 62 deletions(-) |
16 |
|
17 |
diff --git a/sys-apps/hwinfo/Manifest b/sys-apps/hwinfo/Manifest |
18 |
index e7cbb79a492..78589443f5b 100644 |
19 |
--- a/sys-apps/hwinfo/Manifest |
20 |
+++ b/sys-apps/hwinfo/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST hwinfo-21.74-1.1.src.rpm 967046 BLAKE2B 305db6eb3184de0e84d166f0e32988ea2a0ec65eceb322c8c451f33ab8656c38a21a74f416ff08442bcbc5fa91fb4fa8439d907c2c244fe62a2048be7f84b181 SHA512 1a681b51934fbed229b7daa96b5e4e0d8fc62d480927034d0c95ae8c89dc2ae43214c63cca273379162353aeb2bf81883e7c02006c4f45fd1deab0d74f8a2988 |
23 |
DIST hwinfo-21.76-1.1.src.rpm 966123 BLAKE2B dbacb4d8605e3529eb94dd91b4a480c73c935024cf119ba12fd1be4850dd3f5e07df6a306b39b04b1e830284be73d0fcb476f396f27312b692b0a424190a1388 SHA512 990c63574531f74949b60e072bb68069aba99594b57b4b1f71150c96a8630c32a56437968b37bff675a837e08f172e0e18743517566460b8120630d8195f8224 |
24 |
|
25 |
diff --git a/sys-apps/hwinfo/hwinfo-21.74.ebuild b/sys-apps/hwinfo/hwinfo-21.74.ebuild |
26 |
deleted file mode 100644 |
27 |
index f1d008f7869..00000000000 |
28 |
--- a/sys-apps/hwinfo/hwinfo-21.74.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,61 +0,0 @@ |
31 |
-# Copyright 1999-2021 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
- |
36 |
-inherit rpm toolchain-funcs |
37 |
- |
38 |
-DESCRIPTION="Hardware detection tool used in SuSE Linux" |
39 |
-HOMEPAGE="https://www.opensuse.org/" |
40 |
-#Using srpms from SUSE to get pregenerated changelog, otherwise we could use GH |
41 |
-#SRC_URI="https://github.com/openSUSE/hwinfo/archive/${PV}.tar.gz -> ${P}.tar.gz" |
42 |
-SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.rpm" |
43 |
- |
44 |
-LICENSE="GPL-2" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux" |
47 |
-IUSE="" |
48 |
- |
49 |
-RDEPEND=" |
50 |
- amd64? ( dev-libs/libx86emu ) |
51 |
- x86? ( dev-libs/libx86emu )" |
52 |
-DEPEND="${RDEPEND} |
53 |
- sys-devel/flex |
54 |
- >=sys-kernel/linux-headers-2.6.17" |
55 |
- |
56 |
-MAKEOPTS="${MAKEOPTS} -j1" |
57 |
- |
58 |
-src_prepare() { |
59 |
- # Respect AR variable. |
60 |
- sed -i \ |
61 |
- -e 's:ar r:$(AR) r:' \ |
62 |
- src/{,isdn,ids,smp,hd}/Makefile || die |
63 |
- |
64 |
- # Respect LDFLAGS. |
65 |
- sed -i -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' src/ids/Makefile || die |
66 |
- |
67 |
- # Respect MAKE variable. Skip forced -pipe and -g. Respect LDFLAGS. |
68 |
- sed -i \ |
69 |
- -e 's:make:$(MAKE):' \ |
70 |
- -e 's:-pipe -g::' \ |
71 |
- -e 's:LDFLAGS.*=:LDFLAGS +=:' \ |
72 |
- Makefile{,.common} || die |
73 |
- # Workaround from Arch, if using source tarballs from github |
74 |
- # echo 'touch changelog' > git2log |
75 |
- default |
76 |
-} |
77 |
- |
78 |
-src_compile() { |
79 |
- tc-export AR |
80 |
- emake CC="$(tc-getCC)" RPM_OPT_FLAGS="${CFLAGS}" |
81 |
-} |
82 |
- |
83 |
-src_install() { |
84 |
- emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install |
85 |
- keepdir /var/lib/hardware/udi |
86 |
- |
87 |
- dodoc changelog README* |
88 |
- docinto examples |
89 |
- dodoc doc/example*.c |
90 |
- doman doc/*.{1,8} |
91 |
-} |