summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-06-07 21:36:47 +0000
committerMike Frysinger <vapier@gentoo.org>2009-06-07 21:36:47 +0000
commitce5a98c3b1361d2b37e62e4b37e34003bddf89d1 (patch)
tree853fe6a773964411ccec64d10daed2ddb3f6bbec /sys-apps/lshw
parentold (diff)
downloadgentoo-2-ce5a98c3b1361d2b37e62e4b37e34003bddf89d1.tar.gz
gentoo-2-ce5a98c3b1361d2b37e62e4b37e34003bddf89d1.tar.bz2
gentoo-2-ce5a98c3b1361d2b37e62e4b37e34003bddf89d1.zip
Version bump #273052 by Raúl Porcel.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/lshw')
-rw-r--r--sys-apps/lshw/ChangeLog9
-rw-r--r--sys-apps/lshw/lshw-02.14b.ebuild47
2 files changed, 54 insertions, 2 deletions
diff --git a/sys-apps/lshw/ChangeLog b/sys-apps/lshw/ChangeLog
index fb0c71518b05..912562a02365 100644
--- a/sys-apps/lshw/ChangeLog
+++ b/sys-apps/lshw/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/lshw
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lshw/ChangeLog,v 1.75 2008/10/14 20:00:38 ranger Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lshw/ChangeLog,v 1.76 2009/06/07 21:36:47 vapier Exp $
+
+*lshw-02.14b (07 Jun 2009)
+
+ 07 Jun 2009; Mike Frysinger <vapier@gentoo.org> +lshw-02.14b.ebuild:
+ Version bump #273052 by Raúl Porcel.
14 Oct 2008; Brent Baude <ranger@gentoo.org> lshw-02.13b.ebuild:
stable ppc, bug 241642
diff --git a/sys-apps/lshw/lshw-02.14b.ebuild b/sys-apps/lshw/lshw-02.14b.ebuild
new file mode 100644
index 000000000000..a4cf458e1f6d
--- /dev/null
+++ b/sys-apps/lshw/lshw-02.14b.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lshw/lshw-02.14b.ebuild,v 1.1 2009/06/07 21:36:47 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.org/project/wiki/HardwareLiSter"
+SRC_URI="http://ezix.org/software/files/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="gtk static"
+
+DEPEND="gtk? ( >=x11-libs/gtk+-2 )"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-02.12.01b-build.patch
+}
+
+src_compile() {
+ tc-export CC CXX AR
+ use static && append-ldflags -static
+ emake || die "make failed"
+ if use gtk ; then
+ emake gui || die "make gui failed"
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+ dodoc README docs/*
+ if use gtk ; then
+ emake DESTDIR="${D}" install-gui || die "install gui failed"
+ make_desktop_entry /usr/sbin/gtk-lshw "Hardware Lister" "/usr/share/lshw/artwork/logo.svg"
+ fi
+}