diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2017-05-31 22:22:51 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-05-31 22:24:08 +0200 |
commit | 9c926526ae7fc9b680b0984ee871ed02ff5354ab (patch) | |
tree | 538f661fb81b09ac31f4f9c0ab174bb53b3cd19a /app-misc | |
parent | kde-frameworks/kdeclarative: Fix plasmashell/taskman memleak (diff) | |
download | gentoo-9c926526ae7fc9b680b0984ee871ed02ff5354ab.tar.gz gentoo-9c926526ae7fc9b680b0984ee871ed02ff5354ab.tar.bz2 gentoo-9c926526ae7fc9b680b0984ee871ed02ff5354ab.zip |
app-misc/beep: decompress man page and install it.
Gentoo-Bug: https://bugs.gentoo.org/619930
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/beep/beep-1.3-r2.ebuild | 35 | ||||
-rw-r--r-- | app-misc/beep/files/beep-1.3-Makefile.patch | 4 |
2 files changed, 37 insertions, 2 deletions
diff --git a/app-misc/beep/beep-1.3-r2.ebuild b/app-misc/beep/beep-1.3-r2.ebuild new file mode 100644 index 000000000000..adccf29dac63 --- /dev/null +++ b/app-misc/beep/beep-1.3-r2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="The advanced PC speaker beeper" +HOMEPAGE="http://www.johnath.com/beep" +SRC_URI="http://www.johnath.com/beep/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" +IUSE="suid" + +PATCHES=( "${FILESDIR}/${P}-Makefile.patch" ) +DOCS=( CHANGELOG CREDITS README ) + +pkg_setup() { + tc-export CC +} + +src_install() { + dobin beep + if use suid; then + fowners :audio /usr/bin/beep + fperms 4710 /usr/bin/beep + else + fperms 0711 /usr/bin/beep + fi + unpack "./${PN}.1.gz" + doman "${PN}.1" + einstalldocs +} diff --git a/app-misc/beep/files/beep-1.3-Makefile.patch b/app-misc/beep/files/beep-1.3-Makefile.patch index 6497323b9235..f4b891e8b824 100644 --- a/app-misc/beep/files/beep-1.3-Makefile.patch +++ b/app-misc/beep/files/beep-1.3-Makefile.patch @@ -1,5 +1,5 @@ ---- /var/tmp/portage/app-misc/beep-1.2.2-r1/work/beep-1.2.2/Makefile 2002-03-29 09:37:22.000000000 -0800 -+++ /tmp/Makefile 2009-03-27 22:19:18.000000000 -0700 +--- a/Makefile 2002-03-29 09:37:22.000000000 -0800 ++++ b/Makefile 2009-03-27 22:19:18.000000000 -0700 @@ -1,17 +1,18 @@ -CC=gcc -FLAGS=-Wall |