summaryrefslogtreecommitdiff
path: root/app-misc/beep
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-misc/beep
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/beep')
-rw-r--r--app-misc/beep/Manifest6
-rw-r--r--app-misc/beep/beep-1.3-r2.ebuild34
-rw-r--r--app-misc/beep/files/beep-1.3-Makefile.patch26
-rw-r--r--app-misc/beep/metadata.xml8
4 files changed, 74 insertions, 0 deletions
diff --git a/app-misc/beep/Manifest b/app-misc/beep/Manifest
new file mode 100644
index 000000000000..8f143edfd943
--- /dev/null
+++ b/app-misc/beep/Manifest
@@ -0,0 +1,6 @@
+AUX beep-1.3-Makefile.patch 516 SHA256 98e2f54404a83a0fc87e6bae2dfe66f771bfaa09f7c4bee546e10a079dcd049b SHA512 b21f788780a13bbef436b80ec020b8727b9c1a8ddac3552cb8bf05d7ab937851d05d72279b53b51dd0ae1f99e44f55caa494b7e61b59800d91dd186497b65009 WHIRLPOOL d200aaed55b504aaff157ed75a09d5f5a4232fa983956c2fb082edae2e409c4e702070e50a3abc636de3be3582e771041b2546ddb1bab0268a99b248c3e5bbfa
+DIST beep-1.3.tar.gz 19344 SHA256 59acef7a987de5557cefd1a904666cc2691f132929af39e65450b182a581ec2d SHA512 3f71146202208fa0c0cda360d125dd972ea003cf8cd62da21d67eb544c92f7b82640e7ce7c3835cbc65c75909a882edfa54dbd8d8b748d6f243711ea331477fd WHIRLPOOL 23ddc6e456803b82bf84b1022e5eed39488db6f4cd4410e77e55545b3e4c6256979dfc5587367c8206ea069ac4fedc4d5fa81406ea66c6c0c79fb9b428c339c7
+EBUILD beep-1.3-r2.ebuild 639 SHA256 db70b21d5b43acab7961040dda32cbd724b11092640b71ad60d1249d6e85d617 SHA512 8efda568f0faa4471f495c243ab64fa0fc360ad6e05fb7752b615a8ecd527a44667a2829eab35413cb0642805abd387e0033dedca05affc5269f68178fbbe485 WHIRLPOOL a6c32ed548908d063b5359847a27423c27a8b853278c591e98fb44824faa2fe1980e8aa92af59602b84c0505078861f21fb2d5bde03d685e2a1281375626678b
+MISC ChangeLog 4818 SHA256 6c7995b60cc63e3a3092b1e5040305663f2d4053552d7e894c2336bd9f1649f0 SHA512 7e20818bcad05c1ae72d83565f7cfcf278801999f454572ea8416c137e235876c2d6ce3566a2e10582e281ebd4bf165afa2caac4eadae259ee6bc84c03bfa2e0 WHIRLPOOL 6d651909103ffe138cd13b67e0fa03a987bb615a9d4eaa2cbc72d0806bcf2faf1b58d26aec874405e7d0014a9008eae4ff6b0af96f07e8e564b0a8f762b4eaaa
+MISC ChangeLog-2015 2832 SHA256 b7106168e972fa1a507884501eef7fef54030cacd9e5f2a8fcf6bbd363665771 SHA512 08edaf4fb2a408ba49342f6400e2b4e95226875571f35c105181af51ad09bfb344cb43b74e05ebb6e0006a23a42080fda776f003c90fbca7a326ff6f4a95caf2 WHIRLPOOL 2cd952155f1c9a3182efad28307a74331ef38507c54cf45bec81c3e324fc4ab722e05f5da9d0a13831bb45bc4ad2fd051a80963b82e9f9fd8c1fddd7a7453f1e
+MISC metadata.xml 271 SHA256 fb77ec802242340d65f4f1cf61787ffa6fb4d57ed02f61feebeed67d2dfb5467 SHA512 3e98f5382cf789992bdfc0f32e6e36eba31944be654c03f2ed9bd00baf56c8b768c256c4f8778d5775d6df38da4afcf8e32b6e6495a1ecfc8e7982c7c8943b1b WHIRLPOOL d6212acd36a69fee56b014b2e1724369857e776204569ac774915e589fd2242b3cd961226d9f125eed452d6c420468e60f038c9b49d1d2a8827d13766918f872
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..ce846fdf1f04
--- /dev/null
+++ b/app-misc/beep/beep-1.3-r2.ebuild
@@ -0,0 +1,34 @@
+# 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" )
+
+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
new file mode 100644
index 000000000000..f4b891e8b824
--- /dev/null
+++ b/app-misc/beep/files/beep-1.3-Makefile.patch
@@ -0,0 +1,26 @@
+--- 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
++CC ?= gcc
++LDFLAGS ?=
++CFLAGS ?= -Wall
+ EXEC_NAME=beep
+ INSTALL_DIR=/usr/bin
+ MAN_FILE=beep.1.gz
+-MAN_DIR=/usr/man/man1
++MAN_DIR=/usr/share/man/man1
+
+ default : beep
+
+ clean :
+- rm ${EXEC_NAME}
++ rm -f ${EXEC_NAME}
+
+ beep : beep.c
+- ${CC} ${FLAGS} -o ${EXEC_NAME} beep.c
++ ${CC} ${CFLAGS} ${LDFLAGS} -o ${EXEC_NAME} beep.c
+
+ install :
+ cp ${EXEC_NAME} ${INSTALL_DIR}
diff --git a/app-misc/beep/metadata.xml b/app-misc/beep/metadata.xml
new file mode 100644
index 000000000000..3e927f8d7480
--- /dev/null
+++ b/app-misc/beep/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+</pkgmetadata>