summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-22 04:17:51 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-22 04:17:51 +0000
commitdc8f33b30bdb34bbccd87a55c18e9f0a76e17823 (patch)
tree05b8aaf9ad13c2a59323ea461cc0a521dface0e0 /sys-apps/lshw
parentold (diff)
downloadgentoo-2-dc8f33b30bdb34bbccd87a55c18e9f0a76e17823.tar.gz
gentoo-2-dc8f33b30bdb34bbccd87a55c18e9f0a76e17823.tar.bz2
gentoo-2-dc8f33b30bdb34bbccd87a55c18e9f0a76e17823.zip
Version bump #99838 by Nunatak.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'sys-apps/lshw')
-rw-r--r--sys-apps/lshw/ChangeLog7
-rw-r--r--sys-apps/lshw/files/digest-lshw-02.05.01b1
-rw-r--r--sys-apps/lshw/lshw-02.05.01b.ebuild60
3 files changed, 67 insertions, 1 deletions
diff --git a/sys-apps/lshw/ChangeLog b/sys-apps/lshw/ChangeLog
index 84306c10df14..8fbc19884397 100644
--- a/sys-apps/lshw/ChangeLog
+++ b/sys-apps/lshw/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/lshw
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lshw/ChangeLog,v 1.21 2005/05/22 17:24:14 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lshw/ChangeLog,v 1.22 2005/07/22 04:17:51 vapier Exp $
+
+*lshw-02.05.01b (22 Jul 2005)
+
+ 22 Jul 2005; Mike Frysinger <vapier@gentoo.org> +lshw-02.05.01b.ebuild:
+ Version bump #99838 by Nunatak.
22 May 2005; Tobias Scherbaum <dertobi123@gentoo.org> lshw-02.03b.ebuild:
Stable on ppc.
diff --git a/sys-apps/lshw/files/digest-lshw-02.05.01b b/sys-apps/lshw/files/digest-lshw-02.05.01b
new file mode 100644
index 000000000000..8503ed344d7c
--- /dev/null
+++ b/sys-apps/lshw/files/digest-lshw-02.05.01b
@@ -0,0 +1 @@
+MD5 8e73e10536c3366410d98f3f675c122a lshw-B.02.05.01.tar.gz 974316
diff --git a/sys-apps/lshw/lshw-02.05.01b.ebuild b/sys-apps/lshw/lshw-02.05.01b.ebuild
new file mode 100644
index 000000000000..a1ddc1fd318f
--- /dev/null
+++ b/sys-apps/lshw/lshw-02.05.01b.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.05.01b.ebuild,v 1.1 2005/07/22 04:17:51 vapier Exp $
+
+inherit flag-o-matic eutils toolchain-funcs
+
+MAJ_PV=${PV:0:${#PV}-1}
+MIN_PVE=${PV:0-1}
+MIN_PV=${MIN_PVE/b/B}
+
+MY_P="$PN-$MIN_PV.$MAJ_PV"
+DESCRIPTION="Hardware Lister"
+HOMEPAGE="http://ezix.sourceforge.net/"
+SRC_URI="http://ezix.sourceforge.net/software/files/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="gtk static"
+
+DEPEND="gtk? ( >=x11-libs/gtk+-2 )
+ >=sys-devel/binutils-2.15"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ use static && append-ldflags -static
+ sed -i \
+ -e "/^CXXFLAGS/s:-Os:${CXXFLAGS}:" \
+ -e '/^LDFLAGS=/s:-Os -s::' \
+ -e '/^CXX=/d' -e '/^CC=/d' \
+ src/{gui/,core/,}/Makefile \
+ || die "sed failed"
+ sed -i \
+ -e "/^LDFLAGS=/s:$: ${LDFLAGS}:" \
+ src/Makefile || die "sed ldflags failed"
+
+ epatch "${FILESDIR}"/02.00b-cpuid-PIC.patch #61947
+}
+
+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 docs/*
+}