diff options
author | David Seifert <soap@gentoo.org> | 2022-07-31 14:43:12 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-07-31 14:43:12 +0200 |
commit | 530d91bb46735077a1ec3847fb9c2ca374b1349e (patch) | |
tree | 5235eef55144ae12e4fd454d391bf3b0a07bbb48 /app-misc/binclock | |
parent | app-misc/bfr: update EAPI 6 -> 8 (diff) | |
download | gentoo-530d91bb46735077a1ec3847fb9c2ca374b1349e.tar.gz gentoo-530d91bb46735077a1ec3847fb9c2ca374b1349e.tar.bz2 gentoo-530d91bb46735077a1ec3847fb9c2ca374b1349e.zip |
app-misc/binclock: update EAPI 6 -> 8
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-misc/binclock')
-rw-r--r-- | app-misc/binclock/binclock-1.5-r1.ebuild (renamed from app-misc/binclock/binclock-1.5.ebuild) | 15 | ||||
-rw-r--r-- | app-misc/binclock/files/binclock-1.5-Makefile.patch | 18 |
2 files changed, 15 insertions, 18 deletions
diff --git a/app-misc/binclock/binclock-1.5.ebuild b/app-misc/binclock/binclock-1.5-r1.ebuild index 733fc66c5a74..f609767f392a 100644 --- a/app-misc/binclock/binclock-1.5.ebuild +++ b/app-misc/binclock/binclock-1.5-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 -inherit flag-o-matic toolchain-funcs +inherit toolchain-funcs DESCRIPTION="Displays a binary clock in your terminal" HOMEPAGE="http://www.ngolde.de/binclock/" @@ -12,20 +12,15 @@ SRC_URI="http://www.ngolde.de/download/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha amd64 ~arm64 ~ia64 ~mips ppc ppc64 sparc x86" -IUSE="" -RDEPEND="" -DEPEND=">=sys-apps/sed-4" - -PATCHES=( "${FILESDIR}/binclock-1.5-Makefile.patch" ) +PATCHES=( "${FILESDIR}"/${P}-Makefile.patch ) src_configure() { - append-cflags -Wall -pedantic tc-export CC } src_install() { - dobin binclock + dobin src/binclock doman doc/binclock.1 dodoc CHANGELOG README binclockrc } diff --git a/app-misc/binclock/files/binclock-1.5-Makefile.patch b/app-misc/binclock/files/binclock-1.5-Makefile.patch index 15a510186b55..21fcec8cc40d 100644 --- a/app-misc/binclock/files/binclock-1.5-Makefile.patch +++ b/app-misc/binclock/files/binclock-1.5-Makefile.patch @@ -1,22 +1,24 @@ ---- a/Makefile 2018-05-29 10:18:47.795059054 -0400 -+++ b/Makefile 2018-05-29 10:21:37.126740904 -0400 -@@ -18,8 +18,6 @@ +--- a/Makefile ++++ b/Makefile +@@ -18,18 +18,15 @@ # Boston, MA 02111-1307, USA # -CC = gcc -CFLAGS = -O2 -Wall --pedantic - BIN = binclock +-BIN = binclock ++CFLAGS += -Wall -pedantic ++BIN = ./src/binclock SRC = ./src/binclock.c INSPATH = /usr/local/bin/ -@@ -28,8 +26,8 @@ + SOURCEPATH = ./ + MANPATH = /usr/man/man1/ CONF = /etc/ - all : $(MAINSRC) +-all : $(MAINSRC) - $(CC) $(CFLAGS) -o $(BIN) $(SRC) - strip $(SOURCEPATH)$(BIN) -+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $(BIN) $(SRC) -+ true $(SOURCEPATH)$(BIN) ++all : $(BIN) install : |