# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit subversion eutils DESCRIPTION="Lxbios is a utility for reading/writing LinuxBIOS parameters and displaying information from the LinuxBIOS table in CMOS." HOMEPAGE="http://www.linuxbios.org/index.php/Lxbios" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" SRC_URI="" ESVN_REPO_URI="svn://linuxbios.org/repos/trunk/util/${PN}" S=${WORKDIR}/${PN} src_unpack() { subversion_src_unpack cd ${S} sed -i \ -e "s|-O2 -W -Wall|${CFLAGS}|" \ Makefile || die "sed" } src_compile() { emake || die "emake failed" } src_install() { # not using emake, because it makes sandbox violations dobin ${PN} doman lxbios.1.gz } pkg_postinst() { ewarn "The machine must be booted with LinuxBIOS to use this program." }