diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2010-09-28 15:33:23 +0000 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2010-09-28 15:33:23 +0000 |
commit | 056e53ae5e06e6046d03220f7fc38595af8b1662 (patch) | |
tree | 6a12b82e9ccdb85d26163d96634bfc5c9638cd99 /sys-libs/libsmbios | |
parent | stable ppc, bug 333201 (diff) | |
download | gentoo-2-056e53ae5e06e6046d03220f7fc38595af8b1662.tar.gz gentoo-2-056e53ae5e06e6046d03220f7fc38595af8b1662.tar.bz2 gentoo-2-056e53ae5e06e6046d03220f7fc38595af8b1662.zip |
Version bump. Added myself as new maintainer.
(Portage version: 2.2_rc88/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs/libsmbios')
-rw-r--r-- | sys-libs/libsmbios/ChangeLog | 8 | ||||
-rw-r--r-- | sys-libs/libsmbios/libsmbios-2.2.26.ebuild | 67 | ||||
-rw-r--r-- | sys-libs/libsmbios/metadata.xml | 3 |
3 files changed, 76 insertions, 2 deletions
diff --git a/sys-libs/libsmbios/ChangeLog b/sys-libs/libsmbios/ChangeLog index 818d110413d1..21a37a7abab6 100644 --- a/sys-libs/libsmbios/ChangeLog +++ b/sys-libs/libsmbios/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-libs/libsmbios # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsmbios/ChangeLog,v 1.27 2010/01/06 17:37:46 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsmbios/ChangeLog,v 1.28 2010/09/28 15:33:23 polynomial-c Exp $ + +*libsmbios-2.2.26 (28 Sep 2010) + + 28 Sep 2010; Lars Wendler <polynomial-c@gentoo.org> + +libsmbios-2.2.26.ebuild, metadata.xml: + Version bump. Added myself as new maintainer. 06 Jan 2010; Raúl Porcel <armin76@gentoo.org> libsmbios-2.2.19.ebuild: ia64 stable wrt #297780 diff --git a/sys-libs/libsmbios/libsmbios-2.2.26.ebuild b/sys-libs/libsmbios/libsmbios-2.2.26.ebuild new file mode 100644 index 000000000000..be05af5a078c --- /dev/null +++ b/sys-libs/libsmbios/libsmbios-2.2.26.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsmbios/libsmbios-2.2.26.ebuild,v 1.1 2010/09/28 15:33:23 polynomial-c Exp $ + +EAPI=2 +PYTHON_DEPEND="python? *:2.4" + +inherit python flag-o-matic autotools + +DESCRIPTION="Provide access to (SM)BIOS information" +HOMEPAGE="http://linux.dell.com/libsmbios/main/index.html" +SRC_URI="http://linux.dell.com/libsmbios/download/libsmbios/${P}/${P}.tar.bz2" + +LICENSE="GPL-2 OSL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~x86" +IUSE="doc graphviz nls python test" + +RDEPEND="dev-libs/libxml2 + sys-libs/zlib + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.9.0 + doc? ( app-doc/doxygen ) + graphviz? ( media-gfx/graphviz ) + nls? ( sys-devel/gettext ) + test? ( >=dev-util/cppunit-1.9.6 )" + +src_prepare() { + rm pkg/py-compile + ln -s "$(type -P true)" pkg/py-compile || die + eautoreconf +} + +src_configure() { + #Remove -O3 for bug #290097 + replace-flags -O3 -O2 + econf \ + $(use_enable doc doxygen) \ + $(use_enable graphviz) \ + $(use_enable nls) \ + $(use_enable python) || die +} + +src_install() { + emake install DESTDIR="${D}" || die "emake install failed" + + rm -rf "${D}etc/yum" + rm -rf "${D}usr/lib/yum-plugins" + if ! use python ; then + rmdir "${D}libsmbios_c" "${D}usr/share/smbios-utils" + rm -rf "${D}etc" + fi + + insinto /usr/include/ + doins -r src/include/smbios/ + + dodoc AUTHORS ChangeLog NEWS README TODO +} + +pkg_postinst() { + use python && python_mod_optimize /usr/share/smbios-utils +} + +pkg_postrm() { + use python && python_mod_cleanup /usr/share/smbios-utils +} diff --git a/sys-libs/libsmbios/metadata.xml b/sys-libs/libsmbios/metadata.xml index 78b49298ae57..e378be02b831 100644 --- a/sys-libs/libsmbios/metadata.xml +++ b/sys-libs/libsmbios/metadata.xml @@ -3,7 +3,8 @@ <pkgmetadata> <herd>no-herd</herd> <maintainer> - <email>cedk@gentoo.org</email> + <email>polynomial-c@gentoo.org</email> + <name>Lars Wendler</name> </maintainer> <longdescription>The libsmbios project aims towards providing access to as much BIOS information as possible. It does this by providing a library of functions |