Lines 1-3
Link Here
|
|
|
1 |
#! \bash |
1 |
# Copyright 1999-2008 Gentoo Foundation |
2 |
# Copyright 1999-2008 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-video/nvidia-settings/nvidia-settings-169.07.ebuild,v 1.4 2008/06/29 15:25:51 peper Exp $ |
4 |
# $Header: /var/cvsroot/gentoo-x86/media-video/nvidia-settings/nvidia-settings-169.07.ebuild,v 1.4 2008/06/29 15:25:51 peper Exp $ |
Lines 13-19
Link Here
|
13 |
LICENSE="GPL-2" |
14 |
LICENSE="GPL-2" |
14 |
SLOT="0" |
15 |
SLOT="0" |
15 |
KEYWORDS="-* amd64 x86 ~x86-fbsd" |
16 |
KEYWORDS="-* amd64 x86 ~x86-fbsd" |
16 |
IUSE="" |
17 |
IUSE="utils" |
|
|
18 |
|
19 |
UTILS="nv-control-dpy nv-control-dvc nv-control-events nv-control-framelock nv-control-targets nv-ddcci-client" |
17 |
|
20 |
|
18 |
# xorg-server is used in the depends as nvidia-settings builds against some |
21 |
# xorg-server is used in the depends as nvidia-settings builds against some |
19 |
# headers in /usr/include/xorg/. |
22 |
# headers in /usr/include/xorg/. |
Lines 70-82
Link Here
|
70 |
cd "${S}" |
73 |
cd "${S}" |
71 |
einfo "Building nVidia-Settings..." |
74 |
einfo "Building nVidia-Settings..." |
72 |
emake CC="$(tc-getCC)" || die "Failed to build nvidia-settings" |
75 |
emake CC="$(tc-getCC)" || die "Failed to build nvidia-settings" |
|
|
76 |
if use utils; then |
77 |
cd "${S}/samples/" |
78 |
emake CC="$(tc-getCC)" || die "Failed to build sample programs" |
79 |
fi |
73 |
} |
80 |
} |
74 |
|
81 |
|
75 |
src_install() { |
82 |
src_install() { |
76 |
# Install the executable |
83 |
# Install the executable |
77 |
exeinto /usr/bin |
84 |
exeinto /usr/bin |
78 |
doexe nvidia-settings |
85 |
doexe nvidia-settings |
79 |
|
86 |
if use utils; then |
|
|
87 |
einfo "Installing utilities" |
88 |
for i in $UTILS; do |
89 |
doexe samples/$i |
90 |
done; |
91 |
fi |
92 |
|
80 |
# Install libXNVCtrl and headers |
93 |
# Install libXNVCtrl and headers |
81 |
insinto "/usr/$(get_libdir)" |
94 |
insinto "/usr/$(get_libdir)" |
82 |
doins src/libXNVCtrl/libXNVCtrl.a |
95 |
doins src/libXNVCtrl/libXNVCtrl.a |