# ChangeLog for sys-apps/lsparisc
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lsparisc/ChangeLog,v 1.9 2007/02/15 23:13:13 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lsparisc/ChangeLog,v 1.10 2007/02/15 23:21:20 jer Exp $
+
+ 15 Feb 2007; Jeroen Roovers <jer@gentoo.org> lsparisc-0.3.ebuild:
+ Fix version reported by lsparisc -V.
*lsparisc-0.3 (15 Feb 2007)
MD5 fca76e168e2ea6935e1dfda316c47f86 lsparisc-0.2.ebuild 663
RMD160 a37c7b665c2835832bf371fa5d8dcfbeecfc529b lsparisc-0.2.ebuild 663
SHA256 6bf25488af50a8724541f8cdb66c23045b23e37d2260279763b122015af06ef0 lsparisc-0.2.ebuild 663
-EBUILD lsparisc-0.3.ebuild 663 RMD160 ae16a3d748c136370e80fa9f047434f567d7c9f9 SHA1 dd2e2c8799420bfc4d08a5cc3f9b3022a9cbf46d SHA256 c4e95e75fc2c7350810285cbf0d5e2de7d90f934dad7df32eb41c8931aa8064b
-MD5 de1410a1a2f93fa3f02626d76a234e29 lsparisc-0.3.ebuild 663
-RMD160 ae16a3d748c136370e80fa9f047434f567d7c9f9 lsparisc-0.3.ebuild 663
-SHA256 c4e95e75fc2c7350810285cbf0d5e2de7d90f934dad7df32eb41c8931aa8064b lsparisc-0.3.ebuild 663
-MISC ChangeLog 1244 RMD160 e0e0df96de2cefd9c7697c9d7307769fe610a1cc SHA1 481780c6c0730af1534d33ab8572a39d97fda706 SHA256 62fc6db41e790077b55add6e5557d007817425e12b8dd819a9ebbce33873da8a
-MD5 6f12c57cac5c855c21caf98623502b82 ChangeLog 1244
-RMD160 e0e0df96de2cefd9c7697c9d7307769fe610a1cc ChangeLog 1244
-SHA256 62fc6db41e790077b55add6e5557d007817425e12b8dd819a9ebbce33873da8a ChangeLog 1244
+EBUILD lsparisc-0.3.ebuild 744 RMD160 b8109f0d98ba19b811d9bb28b5d30f62547a4197 SHA1 c65b95eafc62f6fed1f9207352181fdbee946980 SHA256 3cc36ef96d86849067f78a6c4a62d0977fdff0a3209d504db8862c3382cedfb4
+MD5 2b39fe7f69c69297d3f1f2d9c74b0e49 lsparisc-0.3.ebuild 744
+RMD160 b8109f0d98ba19b811d9bb28b5d30f62547a4197 lsparisc-0.3.ebuild 744
+SHA256 3cc36ef96d86849067f78a6c4a62d0977fdff0a3209d504db8862c3382cedfb4 lsparisc-0.3.ebuild 744
+MISC ChangeLog 1353 RMD160 c5474b87f9e57b2ed23945efd5696d5e139707cd SHA1 461a965de450d6a39c67eebda02c9574919de1b2 SHA256 bbf32dcab1879515f4cde65efc0ec074375cc82899d758cab58804ecd9de2f37
+MD5 b4dbe3ab5eaad9ca844e405ff4dddb25 ChangeLog 1353
+RMD160 c5474b87f9e57b2ed23945efd5696d5e139707cd ChangeLog 1353
+SHA256 bbf32dcab1879515f4cde65efc0ec074375cc82899d758cab58804ecd9de2f37 ChangeLog 1353
MISC metadata.xml 402 RMD160 9a24c89bf37f5d6c014e7345d50a3ea8848e5321 SHA1 0fc0ba81daec0e9958fd1178e8ae3534caaa2d73 SHA256 bdb229d3815adab55d202d1d5cec172bc9875c02c162aae48e2fc42f97727390
MD5 d762569533d562ae3a344dab11a6dc75 metadata.xml 402
RMD160 9a24c89bf37f5d6c014e7345d50a3ea8848e5321 metadata.xml 402
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lsparisc/lsparisc-0.3.ebuild,v 1.1 2007/02/15 23:13:13 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lsparisc/lsparisc-0.3.ebuild,v 1.2 2007/02/15 23:21:20 jer Exp $
DESCRIPTION="Like lspci but for PARISC devices"
HOMEPAGE="http://packages.debian.org/unstable/utils/lsparisc"
DEPEND="sys-fs/sysfsutils"
RDEPEND="${DEPEND}"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ sed -e 's|"0.2"|"0.3"|g' -i lsparisc.c
+}
+
src_install() {
dobin lsparisc || die "Installing lsparisc executable failed."
doman lsparisc.8 || die "Installing lsparisc man page failed."