1 |
commit: c7a37e1e0b5ac44b3311ddb03d28a75edec10398 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 6 06:25:43 2019 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 6 06:25:52 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7a37e1e |
7 |
|
8 |
sys-apps/powerpc-utils: bump up to EAPI=7 |
9 |
|
10 |
Package-Manager: Portage-2.3.67, Repoman-2.3.14 |
11 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
12 |
|
13 |
.../powerpc-utils/powerpc-utils-1.1.3.18-r3.ebuild | 53 ++++++++++++++++++++++ |
14 |
1 file changed, 53 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/powerpc-utils/powerpc-utils-1.1.3.18-r3.ebuild b/sys-apps/powerpc-utils/powerpc-utils-1.1.3.18-r3.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..d59b974f9c0 |
19 |
--- /dev/null |
20 |
+++ b/sys-apps/powerpc-utils/powerpc-utils-1.1.3.18-r3.ebuild |
21 |
@@ -0,0 +1,53 @@ |
22 |
+# Copyright 1999-2019 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+ |
27 |
+inherit toolchain-funcs |
28 |
+ |
29 |
+BASEVER=$(ver_cut 1-3) |
30 |
+DEBREV=$(ver_cut 4) |
31 |
+ |
32 |
+DESCRIPTION="PowerPC utilities including nvsetenv, and additional OldWorld apps" |
33 |
+SRC_URI="http://http.us.debian.org/debian/pool/main/p/powerpc-utils/${PN}_${BASEVER}.orig.tar.gz |
34 |
+ http://http.us.debian.org/debian/pool/main/p/powerpc-utils/${PN}_${BASEVER}-${DEBREV}.diff.gz |
35 |
+ mirror://gentoo/${PN}-cleanup.patch.bz2" |
36 |
+ |
37 |
+HOMEPAGE="http://http.us.debian.org/debian/pool/main/p/powerpc-utils/" |
38 |
+KEYWORDS="-* ~ppc ~ppc64" |
39 |
+IUSE="" |
40 |
+DEPEND="" |
41 |
+RDEPEND="${DEPEND}" |
42 |
+SLOT="0" |
43 |
+LICENSE="GPL-2" |
44 |
+ |
45 |
+S="${WORKDIR}/pmac-utils" |
46 |
+ |
47 |
+PATCHES=( |
48 |
+ "${WORKDIR}"/${PN}_${BASEVER}-${DEBREV}.diff |
49 |
+ "${WORKDIR}"/${PN}-cleanup.patch |
50 |
+) |
51 |
+ |
52 |
+src_prepare() { |
53 |
+ default |
54 |
+ |
55 |
+ # use users CFLAGS, LDFLAGS and CC, bug 280400 |
56 |
+ sed -i -e "/LDFLAGS =/d" -e "/CC\t=/d" -e "s/CFLAGS\t=/CFLAGS +=/" \ |
57 |
+ -e "s/-g -O2/-Wstrict-prototypes/" Makefile || die "sed failed" |
58 |
+} |
59 |
+ |
60 |
+src_compile() { |
61 |
+ tc-export CC |
62 |
+ emake |
63 |
+} |
64 |
+ |
65 |
+src_install() { |
66 |
+ into /usr |
67 |
+ dosbin autoboot backlight bootsched clock fblevel fdeject fnset |
68 |
+ dosbin macos mousemode nvsetenv nvsetvol nvvideo sndvolmix trackpad |
69 |
+ |
70 |
+ doman autoboot.8 bootsched.8 clock.8 fblevel.8 fdeject.8 macos.8 |
71 |
+ doman mousemode.8 nvsetenv.8 nvsetvol.8 nvvideo.8 sndvolmix.8 trackpad.8 |
72 |
+ |
73 |
+ ewarn "The lsprop utility has been moved into the ibm-powerpc-utils package." |
74 |
+} |