Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/cqrlib: metadata.xml ChangeLog cqrlib-1.0.3.ebuild
Date: Wed, 03 Feb 2010 22:12:24
Message-Id: E1NcnSQ-0003y9-7A@stork.gentoo.org
1 jlec 10/02/03 22:12:22
2
3 Added: metadata.xml ChangeLog cqrlib-1.0.3.ebuild
4 Log:
5 sci-libs/cqrlib added
6 (Portage version: 2.2_rc62/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 sci-libs/cqrlib/metadata.xml
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cqrlib/metadata.xml?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cqrlib/metadata.xml?rev=1.1&content-type=text/plain
13
14 Index: metadata.xml
15 ===================================================================
16 <?xml version="1.0" encoding="UTF-8"?>
17 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
18 <pkgmetadata>
19 <herd>sci</herd>
20 <maintainer>
21 <email>sci@g.o</email>
22 </maintainer>
23 </pkgmetadata>
24
25
26
27 1.1 sci-libs/cqrlib/ChangeLog
28
29 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cqrlib/ChangeLog?rev=1.1&view=markup
30 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cqrlib/ChangeLog?rev=1.1&content-type=text/plain
31
32 Index: ChangeLog
33 ===================================================================
34 # ChangeLog for sci-libs/cqrlib
35 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
36 # $Header: /var/cvsroot/gentoo-x86/sci-libs/cqrlib/ChangeLog,v 1.1 2010/02/03 22:12:21 jlec Exp $
37
38 *cqrlib-1.0.3 (03 Feb 2010)
39
40 03 Feb 2010; Justin Lecher (jlec) <jlec@g.o>
41 +files/1.0.3-LDFLAGS.patch, +cqrlib-1.0.3.ebuild, +metadata.xml:
42 An ANSI C implementation of a utility library for quaternion arithmetic
43 and quaternion rotation math
44
45
46
47
48 1.1 sci-libs/cqrlib/cqrlib-1.0.3.ebuild
49
50 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cqrlib/cqrlib-1.0.3.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cqrlib/cqrlib-1.0.3.ebuild?rev=1.1&content-type=text/plain
52
53 Index: cqrlib-1.0.3.ebuild
54 ===================================================================
55 # Copyright 1999-2010 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/sci-libs/cqrlib/cqrlib-1.0.3.ebuild,v 1.1 2010/02/03 22:12:21 jlec Exp $
58
59 inherit base flag-o-matic toolchain-funcs
60
61 MY_PN=CQRlib
62 MY_P="${MY_PN}-${PV}"
63
64 DESCRIPTION="An ANSI C implementation of a utility library for quaternion arithmetic and quaternion rotation math"
65 HOMEPAGE="http://cqrlib.sourceforge.net"
66 SRC_URI="mirror://sourceforge/${PN}/${MY_P}/${MY_P}.tar.gz"
67
68 LICENSE="LGPL-2.1"
69 SLOT="0"
70 KEYWORDS="~amd64 ~x86"
71 IUSE=""
72
73 RDEPEND="dev-libs/cvector"
74 DEPEND="${RDEPEND}"
75
76 S="${WORKDIR}"/${MY_P}
77
78 PATCHES=(
79 "${FILESDIR}"/${PV}-LDFLAGS.patch
80 )
81
82 src_compile() {
83 append-flags -ansi
84 emake \
85 CC=$(tc-getCC) \
86 CXX=$(tc-getCXX) \
87 CFLAGS="${CFLAGS}" \
88 all || die
89 }
90
91 src_test() {
92 emake tests || die
93 }
94
95 src_install() {
96 dobin bin/* || die
97 dolib.a lib/.libs/*.a || die
98
99 insinto /usr/include
100 doins *.h || die
101
102 dodoc README_CQRlib.txt || die
103 }