packages/x11-libs/libXNVCtrl/libXNVCtrl-256.53.exheres-0 (977B) - raw
1 # Copyright 2010 Dan Callaghan <djc@djc.id.au> 2 # Distributed under the terms of the GNU General Public License v2 3 # Based in part upon nvidia-settings-256.52.ebuild, which is: 4 # Copyright 1999-2010 Gentoo Foundation 5 6 require multilib 7 8 SUMMARY="Library for doing stuff with nvidia GPUs" 9 HOMEPAGE="http://www.nvidia.com/" 10 DOWNLOADS="ftp://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-${PV}.tar.bz2" 11 12 LICENCES="GPL-2" 13 SLOT="0" 14 PLATFORMS="~amd64 ~x86" 15 16 DEPENDENCIES=" 17 build+run: 18 x11-libs/libX11 19 x11-libs/libXext 20 " 21 22 BUGS_TO="djc@djc.id.au" 23 24 WORK="${WORKBASE}/nvidia-settings-${PV}" 25 26 src_prepare() { 27 default 28 emake -C src/libXNVCtrl clean 29 } 30 31 src_configure() { 32 : 33 } 34 35 src_compile() { 36 emake -C src/libXNVCtrl CFLAGS="${CFLAGS} -fPIC" libXNVCtrl.a 37 } 38 39 src_test() { 40 : 41 } 42 43 src_install() { 44 insinto "/usr/${LIBDIR}" 45 doins src/libXNVCtrl/libXNVCtrl.a 46 insinto /usr/include/NVCtrl 47 doins src/libXNVCtrl/{NVCtrl,NVCtrlLib}.h 48 }