summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-03-16 18:16:02 +0000
committerJustin Lecher <jlec@gentoo.org>2013-03-16 18:16:02 +0000
commit23043a79f509eae5e35a9ba20e76ee1d5a50eab6 (patch)
tree03a93ae51968d8732e3b504576d21caa062dcc18 /dev-libs/cvector
parentbump; provisional support for py3 in this version, not yet added to ebuild, c... (diff)
downloadgentoo-2-23043a79f509eae5e35a9ba20e76ee1d5a50eab6.tar.gz
gentoo-2-23043a79f509eae5e35a9ba20e76ee1d5a50eab6.tar.bz2
gentoo-2-23043a79f509eae5e35a9ba20e76ee1d5a50eab6.zip
dev-libs/cvector: Version BUmp
(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
Diffstat (limited to 'dev-libs/cvector')
-rw-r--r--dev-libs/cvector/ChangeLog10
-rw-r--r--dev-libs/cvector/cvector-1.0.3.1.ebuild44
-rw-r--r--dev-libs/cvector/files/cvector-1.0.3.1-LDFLAGS.patch17
-rw-r--r--dev-libs/cvector/metadata.xml8
4 files changed, 73 insertions, 6 deletions
diff --git a/dev-libs/cvector/ChangeLog b/dev-libs/cvector/ChangeLog
index c4d9ed62473c..e03cf51341f9 100644
--- a/dev-libs/cvector/ChangeLog
+++ b/dev-libs/cvector/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/cvector
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/cvector/ChangeLog,v 1.8 2012/03/01 20:02:17 ranger Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/cvector/ChangeLog,v 1.9 2013/03/16 18:16:02 jlec Exp $
+
+*cvector-1.0.3.1 (16 Mar 2013)
+
+ 16 Mar 2013; Justin Lecher <jlec@gentoo.org> +cvector-1.0.3.1.ebuild,
+ +files/cvector-1.0.3.1-LDFLAGS.patch, metadata.xml:
+ Version BUmp
01 Mar 2012; Brent Baude <ranger@gentoo.org> cvector-1.0.3-r1.ebuild:
Marking cvector-1.0.3-r1 ppc for bug 393999
diff --git a/dev-libs/cvector/cvector-1.0.3.1.ebuild b/dev-libs/cvector/cvector-1.0.3.1.ebuild
new file mode 100644
index 000000000000..d49e714f9c35
--- /dev/null
+++ b/dev-libs/cvector/cvector-1.0.3.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/cvector/cvector-1.0.3.1.ebuild,v 1.1 2013/03/16 18:16:02 jlec Exp $
+
+EAPI=5
+
+inherit base eutils toolchain-funcs versionator
+
+MY_PN=CVector
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="An ANSI C implementation of dynamic arrays to provide a crude approximation to the C++ vector class"
+HOMEPAGE="http://cvector.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}/${MY_PN}-$(get_version_component_range 1-3)/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+S="${WORKDIR}"/${MY_P}
+
+PATCHES=(
+ "${FILESDIR}"/${P}-LDFLAGS.patch
+ "${FILESDIR}"/1.0.3-dynlib.patch
+ )
+
+src_compile() {
+ emake \
+ CC=$(tc-getCC) \
+ CXX=$(tc-getCXX) \
+ CFLAGS="${CFLAGS}" \
+ all
+}
+
+src_install() {
+ ln -sf libCVector.so.$(get_version_component_range 1-3) libCVector.so.$(get_major_version) || die
+ ln -sf libCVector.so.$(get_version_component_range 1-3) libCVector.so || die
+ dolib.so libCVector.so*
+
+ doheader *.h
+
+ dodoc README_CVector.txt
+}
diff --git a/dev-libs/cvector/files/cvector-1.0.3.1-LDFLAGS.patch b/dev-libs/cvector/files/cvector-1.0.3.1-LDFLAGS.patch
new file mode 100644
index 000000000000..8bed3ab01546
--- /dev/null
+++ b/dev-libs/cvector/files/cvector-1.0.3.1-LDFLAGS.patch
@@ -0,0 +1,17 @@
+--- Makefile 2009-07-08 04:02:56.000000000 +0200
++++ Makefile.new 2009-07-25 11:59:27.000000000 +0200
+@@ -89,10 +89,10 @@
+ endif
+
+ COMPILE_COMMAND = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(INCLUDES) $(WARNINGS) -c
+-LIBRARY_LINK_COMMAND = $(LIBTOOL) --mode=link $(CC) -version-info $(VERSION) -release $(RELEASE) -no-undefined -rpath $(INSTALL_PREFIX)/lib
+-BUILD_COMMAND_LOCAL = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(INCLUDES)
+-BUILD_COMMAND_DYNAMIC = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -dynamic -I $(INSTALL_PREFIX)/include
+-BUILD_COMMAND_STATIC = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -static -I $(INSTALL_PREFIX)/include
++LIBRARY_LINK_COMMAND = $(LIBTOOL) --mode=link $(CC) -version-info $(VERSION) -release $(RELEASE) -no-undefined $(LDFLAGS)
++BUILD_COMMAND_LOCAL = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(INCLUDES) $(LDFLAGS)
++BUILD_COMMAND_DYNAMIC = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -shared
++BUILD_COMMAND_STATIC = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -static
+ INSTALL_COMMAND = $(LIBTOOL) --mode=install cp
+ INSTALL_FINISH_COMMAND = $(LIBTOOL) --mode=finish
+
diff --git a/dev-libs/cvector/metadata.xml b/dev-libs/cvector/metadata.xml
index efb490d78817..4bf6dbc6b1ea 100644
--- a/dev-libs/cvector/metadata.xml
+++ b/dev-libs/cvector/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>sci</herd>
-<maintainer>
- <email>sci@gentoo.org</email>
-</maintainer>
+ <herd>sci</herd>
+ <maintainer>
+ <email>sci@gentoo.org</email>
+ </maintainer>
</pkgmetadata>