# Copyright 1999-2005 Peter Urquhart # Distributed under the terms of the GNU General Public License v2 MY_P="${PN}-${PV}" S=${WORKDIR}/${MY_P} DESCRIPTION="NVIDIA Unlocking Utility for 6200/6800 series cards" HOMEPAGE="http://www.garrulous-geek.co.uk/nvtuner/" SRC_URI="http://www.garrulous-geek.co.uk/wordpress/wp-content/nvtuner/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" DEPEND="media-video/nvidia-kernel media-video/nvidia-glx" src_install() { dodir /usr/bin einstall || die "Install failed" newinitd ${FILESDIR}/nvtuner.init nvtuner newconfd ${FILESDIR}/nvtuner.conf nvtuner } pkg_postinst() { einfo "It helps if your kernel is built with module unloading support. If this is not" einfo "possible, please remove the nvidia module from your modules.autoload files," einfo "let X.org add the module when it starts, and run nvtuner at the default" einfo "runlevel. To do this edit /etc/conf.d/nvtuner as necessary and then run:" einfo "rc-update add nvtuner default." }