commit: efc2405057980c81f8af183f8d052e56ce8b1617 Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com> AuthorDate: Wed Nov 6 19:46:07 2019 +0000 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> CommitDate: Fri Nov 8 02:39:31 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efc24050
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 <conrad <AT> kostecki.com> Signed-off-by: Aaron Bauman <bman <AT> gentoo.org> .../lcdutils/files/lcdutils-0.2-makefile.patch | 20 +++++++++++++++++ sys-apps/lcdutils/lcdutils-0.2-r1.ebuild | 25 ++++++++++++++++++++++ sys-apps/lcdutils/metadata.xml | 12 +++++++++-- 3 files changed, 55 insertions(+), 2 deletions(-) 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 00000000000..a67db0c2e29 --- /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 00000000000..cf75998f9c9 --- /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 14e7453a3b0..542e1c85730 100644 --- a/sys-apps/lcdutils/metadata.xml +++ b/sys-apps/lcdutils/metadata.xml @@ -1,12 +1,20 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> + <maintainer type="person"> + <email>ck+gen...@bl4ckb0x.de</email> + <name>Conrad Kostecki</name> + </maintainer> + <maintainer type="project"> + <email>proxy-ma...@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> <maintainer type="project"> <email>m...@gentoo.org</email> <name>Mips Team</name> </maintainer> - <longdescription> - 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. </longdescription> </pkgmetadata>