1 |
commit: 9c926526ae7fc9b680b0984ee871ed02ff5354ab |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 31 20:22:51 2017 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 31 20:24:08 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c926526 |
7 |
|
8 |
app-misc/beep: decompress man page and install it. |
9 |
|
10 |
Gentoo-Bug: https://bugs.gentoo.org/619930 |
11 |
|
12 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
13 |
|
14 |
app-misc/beep/beep-1.3-r2.ebuild | 35 +++++++++++++++++++++++++++++ |
15 |
app-misc/beep/files/beep-1.3-Makefile.patch | 4 ++-- |
16 |
2 files changed, 37 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/app-misc/beep/beep-1.3-r2.ebuild b/app-misc/beep/beep-1.3-r2.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..adccf29dac6 |
21 |
--- /dev/null |
22 |
+++ b/app-misc/beep/beep-1.3-r2.ebuild |
23 |
@@ -0,0 +1,35 @@ |
24 |
+# Copyright 1999-2017 Gentoo Foundation |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=6 |
28 |
+ |
29 |
+inherit toolchain-funcs |
30 |
+ |
31 |
+DESCRIPTION="The advanced PC speaker beeper" |
32 |
+HOMEPAGE="http://www.johnath.com/beep" |
33 |
+SRC_URI="http://www.johnath.com/beep/${P}.tar.gz" |
34 |
+ |
35 |
+LICENSE="GPL-2" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" |
38 |
+IUSE="suid" |
39 |
+ |
40 |
+PATCHES=( "${FILESDIR}/${P}-Makefile.patch" ) |
41 |
+DOCS=( CHANGELOG CREDITS README ) |
42 |
+ |
43 |
+pkg_setup() { |
44 |
+ tc-export CC |
45 |
+} |
46 |
+ |
47 |
+src_install() { |
48 |
+ dobin beep |
49 |
+ if use suid; then |
50 |
+ fowners :audio /usr/bin/beep |
51 |
+ fperms 4710 /usr/bin/beep |
52 |
+ else |
53 |
+ fperms 0711 /usr/bin/beep |
54 |
+ fi |
55 |
+ unpack "./${PN}.1.gz" |
56 |
+ doman "${PN}.1" |
57 |
+ einstalldocs |
58 |
+} |
59 |
|
60 |
diff --git a/app-misc/beep/files/beep-1.3-Makefile.patch b/app-misc/beep/files/beep-1.3-Makefile.patch |
61 |
index 6497323b923..f4b891e8b82 100644 |
62 |
--- a/app-misc/beep/files/beep-1.3-Makefile.patch |
63 |
+++ b/app-misc/beep/files/beep-1.3-Makefile.patch |
64 |
@@ -1,5 +1,5 @@ |
65 |
---- /var/tmp/portage/app-misc/beep-1.2.2-r1/work/beep-1.2.2/Makefile 2002-03-29 09:37:22.000000000 -0800 |
66 |
-+++ /tmp/Makefile 2009-03-27 22:19:18.000000000 -0700 |
67 |
+--- a/Makefile 2002-03-29 09:37:22.000000000 -0800 |
68 |
++++ b/Makefile 2009-03-27 22:19:18.000000000 -0700 |
69 |
@@ -1,17 +1,18 @@ |
70 |
-CC=gcc |
71 |
-FLAGS=-Wall |