From: Conrad Kostecki Date: Wed, 6 Nov 2019 19:46:07 +0000 (+0100) Subject: sys-apps/lcdutils: bump to EAPI=7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=efc2405057980c81f8af183f8d052e56ce8b1617;p=gentoo.git sys-apps/lcdutils: bump to EAPI=7 Also taking ownership by myself. Closes: https://bugs.gentoo.org/697208 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Conrad Kostecki Signed-off-by: Aaron Bauman --- diff --git a/sys-apps/lcdutils/files/lcdutils-0.2-makefile.patch b/sys-apps/lcdutils/files/lcdutils-0.2-makefile.patch new file mode 100644 index 000000000000..a67db0c2e297 --- /dev/null +++ b/sys-apps/lcdutils/files/lcdutils-0.2-makefile.patch @@ -0,0 +1,20 @@ +--- a/Makefile 2002-07-08 15:31:37.000000000 +0200 ++++ b/Makefile 2019-11-06 20:38:11.499806312 +0100 +@@ -1,13 +1,14 @@ + #CC=mips-uclibc-gcc + #LDFLAGS=-static + +-CFLAGS=-O2 -Wall ++CFLAGS?=-O2 -Wall + + all: putlcd buttond + + install: all +- install putlcd /usr/local/sbin +- install buttond /usr/local/sbin ++ install -d ${DESTDIR}/usr/bin ++ install putlcd ${DESTDIR}/usr/bin ++ install buttond ${DESTDIR}/usr/bin + + clean: + rm -f putlcd buttond *.o diff --git a/sys-apps/lcdutils/lcdutils-0.2-r1.ebuild b/sys-apps/lcdutils/lcdutils-0.2-r1.ebuild new file mode 100644 index 000000000000..cf75998f9c90 --- /dev/null +++ b/sys-apps/lcdutils/lcdutils-0.2-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="(Sun) Cobalt Qube/RaQ button reading and LCD writing utilities" +HOMEPAGE="https://people.debian.org/~pm/mips-cobalt/" +SRC_URI="https://people.debian.org/~pm/mips-cobalt/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~mips ~x86" + +PATCHES=( + "${FILESDIR}/include-stdlib.h-for-exit.patch" + "${FILESDIR}/${P}-makefile.patch" +) + +src_prepare() { + default + + tc-export CC +} diff --git a/sys-apps/lcdutils/metadata.xml b/sys-apps/lcdutils/metadata.xml index 14e7453a3b04..542e1c857301 100644 --- a/sys-apps/lcdutils/metadata.xml +++ b/sys-apps/lcdutils/metadata.xml @@ -1,12 +1,20 @@ + + ck+gentoo@bl4ckb0x.de + Conrad Kostecki + + + proxy-maint@gentoo.org + Proxy Maintainers + mips@gentoo.org Mips Team - - Provides utilities for Cobalt Microserver systems to write to the LCD and read button input + Provides utilities for the (Sun) Cobalt Microserver Systems + to write to the LCD and read the button input.