summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-02-09 20:33:24 +0100
committerConrad Kostecki <conikost@gentoo.org>2022-02-09 23:55:05 +0100
commitc1a2b7f75c63a22991c9124bb5038c9766cfcd94 (patch)
tree87de316612509b53a60383ab282e24d1b72d51f8 /app-misc/glcdprocdriver
parentapp-misc/fr24feed: drop 1.0.25_p3 (diff)
downloadgentoo-c1a2b7f75c63a22991c9124bb5038c9766cfcd94.tar.gz
gentoo-c1a2b7f75c63a22991c9124bb5038c9766cfcd94.tar.bz2
gentoo-c1a2b7f75c63a22991c9124bb5038c9766cfcd94.zip
app-misc/glcdprocdriver: update EAPI 7 -> 8
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-misc/glcdprocdriver')
-rw-r--r--app-misc/glcdprocdriver/glcdprocdriver-0.1.2-r1.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/app-misc/glcdprocdriver/glcdprocdriver-0.1.2-r1.ebuild b/app-misc/glcdprocdriver/glcdprocdriver-0.1.2-r1.ebuild
new file mode 100644
index 000000000000..a1923ca498e7
--- /dev/null
+++ b/app-misc/glcdprocdriver/glcdprocdriver-0.1.2-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="GLCDprocDriver"
+MY_P="${MY_PN}-${PV}"
+
+inherit toolchain-funcs
+
+DESCRIPTION="A glue between the graphlcd-base library from the GraphLCD project"
+HOMEPAGE="
+ https://lucianm.github.io/GLCDprocDriver
+ https://github.com/lucianm/GLCDprocDriver
+"
+SRC_URI="https://github.com/lucianm/${MY_PN}/archive/0.1.2.tar.gz -> ${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+KEYWORDS="amd64 x86"
+SLOT="0"
+LICENSE="GPL-2"
+
+DEPEND="app-misc/graphlcd-base"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ emake CC="$(tc-getCC)" CXX="$(tc-getCXX)"
+}
+
+src_install() {
+ emake DESTDIR="${ED}/usr" INCDIR="${ED}/usr/share/include" LIBDIR="${ED}/usr/$(get_libdir)" install
+
+ einstalldocs
+}