1 |
commit: b67cb8871089992d0832fdf6b6c36c60ffd2b5af |
2 |
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com> |
3 |
AuthorDate: Sat Aug 25 15:28:03 2018 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 31 22:12:40 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b67cb887 |
7 |
|
8 |
sys-apps/smc-sum-driver: update fetch instructions. |
9 |
|
10 |
Closes: https://bugs.gentoo.org/663666 |
11 |
Package-Manager: Portage-2.3.48, Repoman-2.3.10 |
12 |
|
13 |
.../smc-sum-driver-1.6.0.20151201-r1.ebuild | 39 ++++++++++++++++++++++ |
14 |
1 file changed, 39 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/smc-sum-driver/smc-sum-driver-1.6.0.20151201-r1.ebuild b/sys-apps/smc-sum-driver/smc-sum-driver-1.6.0.20151201-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..825bec7d32e |
19 |
--- /dev/null |
20 |
+++ b/sys-apps/smc-sum-driver/smc-sum-driver-1.6.0.20151201-r1.ebuild |
21 |
@@ -0,0 +1,39 @@ |
22 |
+# Copyright 1999-2018 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+ |
27 |
+inherit linux-mod |
28 |
+ |
29 |
+MY_DATE="$(ver_cut 4)" |
30 |
+MY_PN="${PN//-/_}" |
31 |
+MY_PV="$(ver_cut 1-3)" |
32 |
+MY_P="${MY_PN/smc_/}_V${MY_PV}" |
33 |
+ |
34 |
+DESCRIPTION="Supermicro Update Manager (SUM) kernel module" |
35 |
+HOMEPAGE="https://www.supermicro.com" |
36 |
+SRC_URI="${MY_P}_${MY_DATE}.tar.gz" |
37 |
+ |
38 |
+KEYWORDS="-* ~amd64 ~x86" |
39 |
+LICENSE="supermicro" |
40 |
+SLOT="0" |
41 |
+ |
42 |
+RESTRICT="bindist fetch mirror" |
43 |
+ |
44 |
+S="${WORKDIR}"/${MY_P}/Linux |
45 |
+ |
46 |
+BUILD_TARGETS="default" |
47 |
+MODULE_NAMES="sum_bios(misc:${S})" |
48 |
+ |
49 |
+pkg_nofetch() { |
50 |
+ elog "Please contact the Supermicro support at support@××××××××××.com," |
51 |
+ elog "in order to obtain a copy of ${A}" |
52 |
+ elog "and place it in your DISTDIR directory." |
53 |
+} |
54 |
+ |
55 |
+src_prepare() { |
56 |
+ # Install new Makefile to respect users CFLAGS and LDFLAGS |
57 |
+ cp "${FILESDIR}"/makefile Makefile |
58 |
+ |
59 |
+ default |
60 |
+} |