summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/lshw/ChangeLog7
-rw-r--r--sys-apps/lshw/Manifest22
-rw-r--r--sys-apps/lshw/files/digest-lshw-02.02b1
-rw-r--r--sys-apps/lshw/lshw-02.02b.ebuild60
4 files changed, 74 insertions, 16 deletions
diff --git a/sys-apps/lshw/ChangeLog b/sys-apps/lshw/ChangeLog
index 7698a0810796..8c2cbe0bd479 100644
--- a/sys-apps/lshw/ChangeLog
+++ b/sys-apps/lshw/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/lshw
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lshw/ChangeLog,v 1.15 2005/01/03 21:19:56 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lshw/ChangeLog,v 1.16 2005/01/21 16:34:48 matsuu Exp $
+
+*lshw-02.02b (22 Jan 2005)
+
+ 22 Jan 2005; MATSUU Takuto <matsuu@gentoo.org> +lshw-02.02b.ebuild:
+ Version bumped.
03 Jan 2005; Mike Frysinger <vapier@gentoo.org>
+files/02.00b-cpuid-PIC.patch, lshw-02.00b.ebuild:
diff --git a/sys-apps/lshw/Manifest b/sys-apps/lshw/Manifest
index 1f70eb3bbfd9..a0248ace6668 100644
--- a/sys-apps/lshw/Manifest
+++ b/sys-apps/lshw/Manifest
@@ -1,18 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 ce540accd76c671a5a31cabfe4b8832a lshw-01.08a.ebuild 845
+MD5 d829f50ed10be03567368012e47eb965 lshw-02.00b.ebuild 1313
+MD5 e363b1565ebc973236f18efaa76bc908 lshw-02.02b.ebuild 1310
MD5 b7a72c0ae671b5df8b34233e9906878d ChangeLog 2089
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
-MD5 d829f50ed10be03567368012e47eb965 lshw-02.00b.ebuild 1313
-MD5 ce540accd76c671a5a31cabfe4b8832a lshw-01.08a.ebuild 845
-MD5 e1b0c289650e6fc413a9001627b004a0 files/02.00b-dev.patch 966
-MD5 078518c848aac3fcee935427f1849647 files/digest-lshw-02.00b 64
-MD5 7c020ad03172a84e510775b8a6b7d3ce files/digest-lshw-01.08a 64
MD5 555b9015ffbcc8fd484c63ab096069d7 files/02.00b-cpuid-PIC.patch 1098
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.14 (GNU/Linux)
-
-iD8DBQFB3vJaroRuSHgZdywRAnN8AJ9Rt3hAz8tPqJPMIEsh3pMQuZWj0gCeOZXX
-PFKCd5q2iI5okGVrS/KRqfI=
-=i6hq
------END PGP SIGNATURE-----
+MD5 7c020ad03172a84e510775b8a6b7d3ce files/digest-lshw-01.08a 64
+MD5 078518c848aac3fcee935427f1849647 files/digest-lshw-02.00b 64
+MD5 7842b41ab472dcf4e60cb6e43c2079f1 files/digest-lshw-02.02b 64
+MD5 e1b0c289650e6fc413a9001627b004a0 files/02.00b-dev.patch 966
diff --git a/sys-apps/lshw/files/digest-lshw-02.02b b/sys-apps/lshw/files/digest-lshw-02.02b
new file mode 100644
index 000000000000..34eaab8a05da
--- /dev/null
+++ b/sys-apps/lshw/files/digest-lshw-02.02b
@@ -0,0 +1 @@
+MD5 e65eeac535a60652a993c0bf25dc7d6a lshw-B.02.02.tar.gz 827548
diff --git a/sys-apps/lshw/lshw-02.02b.ebuild b/sys-apps/lshw/lshw-02.02b.ebuild
new file mode 100644
index 000000000000..ccbd99d27a1d
--- /dev/null
+++ b/sys-apps/lshw/lshw-02.02b.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lshw/lshw-02.02b.ebuild,v 1.1 2005/01/21 16:34:48 matsuu Exp $
+
+inherit flag-o-matic eutils toolchain-funcs
+
+MAJ_PV=${PV:0:5}
+MIN_PVE=${PV:5:7}
+MIN_PV=${MIN_PVE/b/B}
+
+MY_P="$PN-$MIN_PV.$MAJ_PV"
+DESCRIPTION="Hardware Lister"
+HOMEPAGE="http://ezix.sourceforge.net/"
+SRC_URI="mirror://sourceforge/ezix/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="gtk"
+
+DEPEND="virtual/libc
+ gtk? ( >=x11-libs/gtk+-2 )"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ sed -i \
+ -e "/^CXXFLAGS/s/-Os/${CXXFLAGS}/" \
+ -e '/^CXX=/d' -e '/^CC=/d' \
+ src/{gui/,core/,}/Makefile \
+ || die "sed failed"
+
+ #epatch ${FILESDIR}/${PV}-dev.patch #75168
+ epatch ${FILESDIR}/02.00b-cpuid-PIC.patch #61947
+
+ # cpuid.cc uses inline asm and can not be linked when
+ # position independent code is desired.
+ filter-flags -fPIC
+}
+
+src_compile() {
+ tc-export CC CXX AR
+ emake || die "make failed"
+ if use gtk ; then
+ emake gui || die "make gui failed"
+ fi
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "install failed"
+
+ if use gtk ; then
+ make DESTDIR="${D}" install-gui || die "install gui failed"
+ fi
+
+ dodoc README TODO docs/*
+}