X-Git-Url: http://git.draconx.ca/gitweb/gentoo-draconx.git/blobdiff_plain/fccbcc62415f747ae9e1bb03809e92aebead4370..e5786dafc23bfc5525ab4ea6a50f4fff089a3e10:/sys-apps/vbetest/vbetest-0.10.ebuild diff --git a/sys-apps/vbetest/vbetest-0.10.ebuild b/sys-apps/vbetest/vbetest-0.10.ebuild new file mode 100644 index 0000000..9e5b7ca --- /dev/null +++ b/sys-apps/vbetest/vbetest-0.10.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +S="${WORKDIR}/lrmi-${PV}" + +DESCRIPTION="Utility to display and test VESA BIOS Extensions (VBE) modes." +HOMEPAGE="http://www.sourceforge.net/projects/lrmi/" +SRC_URI="mirror://sourceforge/lrmi/lrmi-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="+lrmi" + +DEPEND="lrmi? ( =sys-libs/lrmi-${PV}* ) + !lrmi? ( dev-libs/libx86 )" + +src_unpack() { + unpack "${A}" + cd "${S}" + + if ! use lrmi ; then + epatch "${FILESDIR}/${PN}-libx86.patch" + else + epatch "${FILESDIR}/${PN}-sharedlrmi.patch" + fi +} + +src_compile() { + emake CFLAGS="${CFLAGS}" vbetest || die +} + +src_install() { + dobin vbetest || die "dobin" +}