Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
---- Makefile.bak 2009-11-30 14:31:07.000000000 -0500
-+++ Makefile 2009-11-30 14:31:34.000000000 -0500
+--- a/Makefile
++++ b/Makefile
@@ -1,6 +1,2 @@
-
-
- gcc -Wall -O2 -o $@ $< && strip $@
-
-
-+ ${CC} -Wall ${CFLAGS} -o $@ $<
++ ${CC} -Wall $(CFLAGS) $(LDFLAGS) -o $@ $<
--- /dev/null
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+DESCRIPTION="Prints out information on all devices attached to the ADB bus"
+HOMEPAGE="http://pbbuttons.berlios.de/projects/lsadb/"
+#SRC_URI="mirror://berlios/pub/pbbuttons/${PN}-${PV}.tgz"
+SRC_URI="mirror://gentoo/${P}.tgz"
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="-* ~ppc"
+PATCHES=(
+ "${FILESDIR}"/${PN}-makefile.patch
+)
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin lsadb
+ doman lsadb.1
+ dodoc README
+}