diff options
Diffstat (limited to 'sys-libs/libsmbios/libsmbios-2.0.3.ebuild')
-rw-r--r-- | sys-libs/libsmbios/libsmbios-2.0.3.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/sys-libs/libsmbios/libsmbios-2.0.3.ebuild b/sys-libs/libsmbios/libsmbios-2.0.3.ebuild new file mode 100644 index 000000000000..dd114e6ce53f --- /dev/null +++ b/sys-libs/libsmbios/libsmbios-2.0.3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsmbios/libsmbios-2.0.3.ebuild,v 1.1 2008/11/01 16:24:32 cedk Exp $ + +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.gz" + +LICENSE="GPL-2 OSL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~x86" +IUSE="test" + +DEPEND="dev-libs/libxml2 + sys-libs/zlib + test? ( dev-util/cppunit )" +RDEPEND=${DEPEND} + +src_compile() { + econf || die "econf failed" + emake || die "emake failed" +} + +src_test() { + einfo "testing currently broken - bypassing" +} + +src_install() { + emake install DESTDIR="${D}" || die "emake install failed" + insinto /usr/include/ + doins -r include/smbios/ + + dodoc AUTHORS ChangeLog NEWS README TODO +} + +pkg_postinst() { + ewarn "If you upgrade from a version of libsmbios older than 2.0.2," + ewarn "you should run revdep-rebuild." +} |