Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/cvector: metadata.xml ChangeLog cvector-1.0.3.ebuild
Date: Wed, 03 Feb 2010 20:21:17
Message-Id: E1Nclis-0008Kg-3V@stork.gentoo.org
1 jlec 10/02/03 20:21:14
2
3 Added: metadata.xml ChangeLog cvector-1.0.3.ebuild
4 Log:
5 CVector is an ANSI C implementation of dynamic arrays to provide a crude approximation to the C++ vector class.
6 (Portage version: 2.2_rc62/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 dev-libs/cvector/metadata.xml
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/cvector/metadata.xml?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/cvector/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 dev-libs/cvector/ChangeLog
28
29 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/cvector/ChangeLog?rev=1.1&view=markup
30 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/cvector/ChangeLog?rev=1.1&content-type=text/plain
31
32 Index: ChangeLog
33 ===================================================================
34 # ChangeLog for dev-libs/cvector
35 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
36 # $Header: /var/cvsroot/gentoo-x86/dev-libs/cvector/ChangeLog,v 1.1 2010/02/03 20:21:13 jlec Exp $
37
38 03 Feb 2010; Justin Lecher (jlec) <jlec@g.o>
39 +files/1.0.3-LDFLAGS.patch, +cvector-1.0.3.ebuild, +metadata.xml:
40 CVector is an ANSI C implementation of dynamic arrays to provide a crude
41 approximation to the C++ vector class.
42
43 *cvector-1.0.3 (03 Feb 2010)
44
45 03 Feb 2010; Justin Lecher (jlec) <jlec@g.o>
46 +files/1.0.3-LDFLAGS.patch, +cvector-1.0.3.ebuild, +metadata.xml:
47 CVector is an ANSI C implementation of dynamic arrays to provide a crude
48 approximation to the C++ vector class.
49
50
51
52
53 1.1 dev-libs/cvector/cvector-1.0.3.ebuild
54
55 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/cvector/cvector-1.0.3.ebuild?rev=1.1&view=markup
56 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/cvector/cvector-1.0.3.ebuild?rev=1.1&content-type=text/plain
57
58 Index: cvector-1.0.3.ebuild
59 ===================================================================
60 # Copyright 1999-2010 Gentoo Foundation
61 # Distributed under the terms of the GNU General Public License v2
62 # $Header: /var/cvsroot/gentoo-x86/dev-libs/cvector/cvector-1.0.3.ebuild,v 1.1 2010/02/03 20:21:13 jlec Exp $
63
64 inherit eutils toolchain-funcs
65
66 MY_PN=CVector
67 MY_P="${MY_PN}-${PV}"
68
69 DESCRIPTION="An ANSI C implementation of dynamic arrays to provide a crude approximation to the C++ vector class"
70 HOMEPAGE="http://cvector.sourceforge.net/"
71 SRC_URI="mirror://sourceforge/${PN}/${PN}/${MY_P}/${MY_P}.tar.gz"
72
73 LICENSE="LGPL-2.1"
74 SLOT="0"
75 KEYWORDS="~amd64 ~x86"
76 IUSE=""
77
78 RDEPEND=""
79 DEPEND="${RDEPEND}"
80
81 S="${WORKDIR}"/${MY_P}
82
83 src_prepare() {
84 epatch "${FILESDIR}"/${PV}-LDFLAGS.patch
85 }
86
87 src_compile() {
88 emake \
89 CC=$(tc-getCC) \
90 CXX=$(tc-getCXX) \
91 CFLAGS="${CFLAGS}" \
92 all || die "compilation failed"
93 }
94
95 src_test() {
96 emake tests || die "test failed"
97 }
98
99 src_install() {
100 dobin bin/* || die
101 dolib.a lib/.libs/*.a || die
102
103 insinto /usr/include
104 doins *.h || die
105
106 dodoc README_CVector.txt || die
107 }