Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/x11:master commit in: media-libs/glu/
Date: Sat, 01 Sep 2012 04:41:51
Message-Id: 1346474547.6e0bc3d6c95e9c1eb4737a2a93e9f33c4cc58b37.mattst88@gentoo
1 commit: 6e0bc3d6c95e9c1eb4737a2a93e9f33c4cc58b37
2 Author: Matt Turner <mattst88 <AT> gmail <DOT> com>
3 AuthorDate: Sat Sep 1 04:42:27 2012 +0000
4 Commit: Matt Turner <mattst88 <AT> gmail <DOT> com>
5 CommitDate: Sat Sep 1 04:42:27 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=6e0bc3d6
7
8 media-libs/glu: New package
9
10 glu has been split out from Mesa and will be released separately as of
11 Mesa-9.0.
12
13 ---
14 media-libs/glu/glu-9999.ebuild | 63 ++++++++++++++++++++++++++++++++++++++++
15 1 files changed, 63 insertions(+), 0 deletions(-)
16
17 diff --git a/media-libs/glu/glu-9999.ebuild b/media-libs/glu/glu-9999.ebuild
18 new file mode 100644
19 index 0000000..4cd6709
20 --- /dev/null
21 +++ b/media-libs/glu/glu-9999.ebuild
22 @@ -0,0 +1,63 @@
23 +# Copyright 1999-2012 Gentoo Foundation
24 +# Distributed under the terms of the GNU General Public License v2
25 +# $Header: $
26 +
27 +EAPI=4
28 +
29 +EGIT_REPO_URI="git://anongit.freedesktop.org/mesa/glu"
30 +
31 +if [[ ${PV} = 9999* ]]; then
32 + GIT_ECLASS="git-2"
33 + EXPERIMENTAL="true"
34 +fi
35 +
36 +inherit autotools-utils multilib ${GIT_ECLASS}
37 +
38 +DESCRIPTION="The OpenGL Utility Library"
39 +HOMEPAGE="http://cgit.freedesktop.org/mesa/glu/"
40 +SRC_URI=""
41 +
42 +LICENSE="SGI-B-2.0"
43 +SLOT="0"
44 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
45 +IUSE="multilib static-libs"
46 +
47 +DEPEND="!<media-libs/mesa-9.0"
48 +RDEPEND="${DEPEND}"
49 +
50 +foreachabi() {
51 + if use multilib; then
52 + local ABI
53 + for ABI in $(get_all_abis); do
54 + multilib_toolchain_setup ${ABI}
55 + AUTOTOOLS_BUILD_DIR=${WORKDIR}/${ABI} "${@}"
56 + done
57 + else
58 + "${@}"
59 + fi
60 +}
61 +
62 +src_unpack() {
63 + default
64 + [[ $PV = 9999* ]] && git-2_src_unpack
65 +}
66 +
67 +src_prepare() {
68 + AUTOTOOLS_AUTORECONF=1 autotools-utils_src_prepare
69 +}
70 +
71 +src_configure() {
72 + foreachabi autotools-utils_src_configure
73 +}
74 +
75 +src_compile() {
76 + foreachabi autotools-utils_src_compile
77 +}
78 +
79 +src_install() {
80 + foreachabi autotools-utils_src_install
81 +}
82 +
83 +src_test() {
84 + :;
85 +}