summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conrad@kostecki.com>2019-11-06 20:46:07 +0100
committerAaron Bauman <bman@gentoo.org>2019-11-07 21:39:31 -0500
commitefc2405057980c81f8af183f8d052e56ce8b1617 (patch)
treeb1ebd1ed255f73f74eea28acbfa866fd93f3c610 /sys-apps
parentapp-text/calibre: Bump to version 4.3.0 (diff)
downloadgentoo-efc2405057980c81f8af183f8d052e56ce8b1617.tar.gz
gentoo-efc2405057980c81f8af183f8d052e56ce8b1617.tar.bz2
gentoo-efc2405057980c81f8af183f8d052e56ce8b1617.zip
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@kostecki.com> Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/lcdutils/files/lcdutils-0.2-makefile.patch20
-rw-r--r--sys-apps/lcdutils/lcdutils-0.2-r1.ebuild25
-rw-r--r--sys-apps/lcdutils/metadata.xml12
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 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 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+ <maintainer type="person">
+ <email>ck+gentoo@bl4ckb0x.de</email>
+ <name>Conrad Kostecki</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
<maintainer type="project">
<email>mips@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>