diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-05-01 10:42:09 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-05-01 10:42:09 +0000 |
commit | be81d154becb3ce64dc22a7fdde92896d2320b17 (patch) | |
tree | 4c6207adb4aec9e4d5ae8f6b85d4b4ac1355b4c0 /sys-apps/hwinfo | |
parent | Fix issues with docdir and remaining eurephia mentions (bug 365487). (diff) | |
download | gentoo-2-be81d154becb3ce64dc22a7fdde92896d2320b17.tar.gz gentoo-2-be81d154becb3ce64dc22a7fdde92896d2320b17.tar.bz2 gentoo-2-be81d154becb3ce64dc22a7fdde92896d2320b17.zip |
Version bump.
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/hwinfo')
-rw-r--r-- | sys-apps/hwinfo/ChangeLog | 9 | ||||
-rw-r--r-- | sys-apps/hwinfo/hwinfo-18.5.ebuild | 57 |
2 files changed, 64 insertions, 2 deletions
diff --git a/sys-apps/hwinfo/ChangeLog b/sys-apps/hwinfo/ChangeLog index adfcbfcb7782..c1b1409a83cb 100644 --- a/sys-apps/hwinfo/ChangeLog +++ b/sys-apps/hwinfo/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/hwinfo -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwinfo/ChangeLog,v 1.20 2010/11/01 18:52:57 ssuominen Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwinfo/ChangeLog,v 1.21 2011/05/01 10:42:09 ssuominen Exp $ + +*hwinfo-18.5 (01 May 2011) + + 01 May 2011; Samuli Suominen <ssuominen@gentoo.org> +hwinfo-18.5.ebuild: + Version bump. 01 Nov 2010; Samuli Suominen <ssuominen@gentoo.org> hwinfo-18.1.ebuild: ppc stable wrt wrt bug #342753 diff --git a/sys-apps/hwinfo/hwinfo-18.5.ebuild b/sys-apps/hwinfo/hwinfo-18.5.ebuild new file mode 100644 index 000000000000..e9d73effdac8 --- /dev/null +++ b/sys-apps/hwinfo/hwinfo-18.5.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwinfo/hwinfo-18.5.ebuild,v 1.1 2011/05/01 10:42:09 ssuominen Exp $ + +EAPI=4 +inherit multilib rpm toolchain-funcs + +DESCRIPTION="hwinfo is the hardware detection tool used in SuSE Linux." +HOMEPAGE="http://www.opensuse.org/" +SRC_URI="http://download.opensuse.org/source/factory/repo/oss/suse/src/${P}-2.1.src.rpm" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="amd64? ( dev-libs/libx86emu ) + x86? ( dev-libs/libx86emu )" +DEPEND="${RDEPEND} + sys-devel/flex + >=sys-kernel/linux-headers-2.6.17" + +MAKEOPTS="${MAKEOPTS} -j1" + +src_prepare() { + # Respect AR variable. + sed -i \ + -e 's:ar r:$(AR) r:' \ + src/{,isdn,ids,smp,hd}/Makefile || die + + # Avoid -I directories for dbus because HAL is obsolete. + sed -i -e '/CFLAGS/d' src/hd/Makefile || die + # Respect LDFLAGS. + sed -i -e 's:$(CC) -shared:& $(LDFLAGS):' src/Makefile || die + sed -i -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' src/ids/Makefile || die + + # Respect MAKE variable. Skip forced -pipe and -g. Respect LDFLAGS. + sed -i \ + -e 's:make:$(MAKE):' \ + -e 's:-pipe -g::' \ + -e 's:LDFLAGS.*=:LDFLAGS +=:' \ + Makefile{,.common} || die +} + +src_compile() { + tc-export AR + emake CC="$(tc-getCC)" RPM_OPT_FLAGS="${CFLAGS}" +} + +src_install() { + emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install + + dodoc changelog README + doman doc/hwinfo.8 + insinto /usr/share/doc/${PF}/examples + doins doc/example*.c +} |