Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/cdspeed/
Date: Wed, 15 Aug 2018 19:53:53
Message-Id: 1534362809.e95517277520928e758c5e7c2c772f2a95a1da08.asturm@gentoo
1 commit: e95517277520928e758c5e7c2c772f2a95a1da08
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Wed Aug 1 16:01:28 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 15 19:53:29 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9551727
7
8 app-misc/cdspeed: EAPI7, improve ebuild
9
10 Closes: https://github.com/gentoo/gentoo/pull/9411
11
12 app-misc/cdspeed/cdspeed-0.4-r2.ebuild | 30 ++++++++++++++++++++++++++++++
13 1 file changed, 30 insertions(+)
14
15 diff --git a/app-misc/cdspeed/cdspeed-0.4-r2.ebuild b/app-misc/cdspeed/cdspeed-0.4-r2.ebuild
16 new file mode 100644
17 index 00000000000..6c933ac2caf
18 --- /dev/null
19 +++ b/app-misc/cdspeed/cdspeed-0.4-r2.ebuild
20 @@ -0,0 +1,30 @@
21 +# Copyright 1999-2018 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=7
25 +
26 +inherit toolchain-funcs
27 +
28 +DESCRIPTION="Change the speed of your CD drive"
29 +HOMEPAGE="http://linuxfocus.org/~guido/"
30 +SRC_URI="http://linuxfocus.org/~guido/${P}.tar.gz"
31 +
32 +LICENSE="GPL-2"
33 +SLOT="0"
34 +KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~x86"
35 +
36 +src_prepare() {
37 + default
38 + sed -i Makefile \
39 + -e 's| -o | $(LDFLAGS)&|g' \
40 + || die "sed Makefile failed"
41 +}
42 +
43 +src_compile() {
44 + emake CFLAGS="${CFLAGS} -Wall -Wno-unused" CC=$(tc-getCC)
45 +}
46 +
47 +src_install() {
48 + emake PREFIX="${D}/usr" install
49 + dodoc README
50 +}