diff options
Diffstat (limited to 'app-misc/binclock')
-rw-r--r-- | app-misc/binclock/Manifest | 4 | ||||
-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 |
3 files changed, 17 insertions, 20 deletions
diff --git a/app-misc/binclock/Manifest b/app-misc/binclock/Manifest index bd2114ac8360..5dfc9b22b07f 100644 --- a/app-misc/binclock/Manifest +++ b/app-misc/binclock/Manifest @@ -1,4 +1,4 @@ -AUX binclock-1.5-Makefile.patch 479 BLAKE2B 72cb38107301d133e6c17f43f5b3cb35d9401d6c41712603e3c8c6231c4ea560e3e24958ab46a1a9878272ddbcb6ce7cb82e64d2716736eae2b5e4007078e209 SHA512 7f120eeed63f27753875c7a4b8924f5db9bfc9c5048d414c1e5de7f53cf36138bfc185843e14292c9f47e87e2aeec1fd08a31254f7ac0716e4549588776fc773 +AUX binclock-1.5-Makefile.patch 412 BLAKE2B 74bd07f6d355c54ebcda4b8290418ff9cdaff7f751d6db509b1ac1a55088a32c6f20bde24c4280a5f743342fb023d33d87c70b81cfbc16e6fed487e09b8196aa SHA512 abd7210720187581ed75421778945a3d8076343bf245dd801c5e829c1f5fdc7fd3c80b9296590d786d50fe936251994f623734fa2ac8a7a799e7fbf5b59759d8 DIST binclock-1.5.tar.gz 12301 BLAKE2B 598185f21d257bd02cd4d91e0ddc707d5eaa9ff52160bd9af0d8d50238fe6ca134952bfc99d285568b77c747ec388ed7e23e3c4bac0fec5fd150e34e55687ed3 SHA512 f3650c8befb999a7e6261bc72ee4f81be670fe95899efc742112102c4107ebbbb25d015d57a702630ce2104cf8c738953c7fe70f24814514d8a2705240000e75 -EBUILD binclock-1.5.ebuild 648 BLAKE2B 90a3a4ecdbb6e53d95de71c41d93487db8012d9f5898b733696df332bbf8acb02647976ca314aecc5958eb7e91f55052274242a672d7c6dbdc75778e15606a6e SHA512 867bccf58cc5127524d85c8d95deafc7d045e0d21363b32f5c7c870e4fd8b06c4147be1ca7116f447a031c2197cc643c6f1b9ba423a4bc7f1264ca75a434025b +EBUILD binclock-1.5-r1.ebuild 554 BLAKE2B caaea2f44bfc094eaaf3888a85cdc943e67b51cda74ff60d86eb4cf16be70c600bfdcc31dbc70b1ec86b2c888dd44f59b2971194d6cd2d08dd6aff700d01911a SHA512 3748e3b4510f930fc38305b88df94407706b43e98747b52c5247d1f4eedc125dbc52119e24514e9aef5f4494f07462ac84d0a12d193cc46fe3bd4d6bd52ddcb9 MISC metadata.xml 266 BLAKE2B 74ac06b4ea12603c8713e69cbff9ce6874266fc48ee5c846f0ac3d50bf577c3edb1e4b6690ec44fc4dd51e55e96dd5c2478831c9f754b04661fe7700d8baf66f SHA512 b996554131284e3556af42d2c5032c5b1635de67d48983096991935e7ee04c32aadc93e48cae5160861e86d64eb6fd4abafc40d9dd8b85ddc032b042a77677cb 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 : |