summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/lsadb')
-rw-r--r--sys-apps/lsadb/Manifest1
-rw-r--r--sys-apps/lsadb/files/lsadb-makefile.patch10
-rw-r--r--sys-apps/lsadb/lsadb-0.1.3.ebuild31
-rw-r--r--sys-apps/lsadb/metadata.xml5
4 files changed, 47 insertions, 0 deletions
diff --git a/sys-apps/lsadb/Manifest b/sys-apps/lsadb/Manifest
new file mode 100644
index 000000000000..cfce7ff0d93c
--- /dev/null
+++ b/sys-apps/lsadb/Manifest
@@ -0,0 +1 @@
+DIST lsadb-0.1.3.tgz 7098 RMD160 52f8a70ad855f7fec801f064f2034ce251b779b7 SHA1 8a88a12636672b54f93dd6180e2f61d3dbc806f3 SHA256 eff3a0b0e113f3c97838f542e1761762f544b0a416d73a7f6b7ad0ff2f9326d0
diff --git a/sys-apps/lsadb/files/lsadb-makefile.patch b/sys-apps/lsadb/files/lsadb-makefile.patch
new file mode 100644
index 000000000000..fb396cc85b22
--- /dev/null
+++ b/sys-apps/lsadb/files/lsadb-makefile.patch
@@ -0,0 +1,10 @@
+--- Makefile.bak 2009-11-30 14:31:07.000000000 -0500
++++ Makefile 2009-11-30 14:31:34.000000000 -0500
+@@ -1,6 +1,2 @@
+-
+-
+ lsadb: lsadb.c lsadb.h
+- gcc -Wall -O2 -o $@ $< && strip $@
+-
+-
++ ${CC} -Wall ${CFLAGS} -o $@ $<
diff --git a/sys-apps/lsadb/lsadb-0.1.3.ebuild b/sys-apps/lsadb/lsadb-0.1.3.ebuild
new file mode 100644
index 000000000000..2f3b2766e9f1
--- /dev/null
+++ b/sys-apps/lsadb/lsadb-0.1.3.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils 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"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-* ~ppc"
+IUSE=""
+DEPEND=""
+RDEPEND="$DEPEND"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${PN}-makefile.patch"
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" || die "emake failed"
+}
+
+src_install() {
+ dobin lsadb
+ doman lsadb.1
+ dodoc README
+}
diff --git a/sys-apps/lsadb/metadata.xml b/sys-apps/lsadb/metadata.xml
new file mode 100644
index 000000000000..e75d5a5857f0
--- /dev/null
+++ b/sys-apps/lsadb/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ppc</herd>
+</pkgmetadata>