# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="Program for changing the resolution of an available VBIOS mode on Intel 855 cards" HOMEPAGE="http://perso.wanadoo.fr/apoirier/" SRC_URI="http://perso.wanadoo.fr/apoirier/${P}.tgz" LICENSE="as-is" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="" S=${WORKDIR}/${PN} src_compile() { emake || die "emake failed" } src_install() { install -m755 -D 855resolution ${D}/usr/sbin/855resolution \ || die "install failed" dodoc README.txt CHANGES.txt LICENSE.txt VERSION.txt insinto /etc/conf.d exeinto /etc/init.d newins "${FILESDIR}/${PATCHLEVEL}/conf.d" 855resolution newexe "${FILESDIR}/${PATCHLEVEL}/init.d" 855resolution }