summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-02-03 22:12:22 +0000
committerJustin Lecher <jlec@gentoo.org>2010-02-03 22:12:22 +0000
commitc9c1455a6dc78c626c3a0e19f4d8dc9b071a7296 (patch)
tree7129b47b7d4f883ac21e37412862bace46375b42 /sci-libs/cqrlib
parentamd64 stable, bug #290464 (diff)
downloadhistorical-c9c1455a6dc78c626c3a0e19f4d8dc9b071a7296.tar.gz
historical-c9c1455a6dc78c626c3a0e19f4d8dc9b071a7296.tar.bz2
historical-c9c1455a6dc78c626c3a0e19f4d8dc9b071a7296.zip
sci-libs/cqrlib added
Package-Manager: portage-2.2_rc62/cvs/Linux x86_64
Diffstat (limited to 'sci-libs/cqrlib')
-rw-r--r--sci-libs/cqrlib/ChangeLog11
-rw-r--r--sci-libs/cqrlib/Manifest15
-rw-r--r--sci-libs/cqrlib/cqrlib-1.0.3.ebuild49
-rw-r--r--sci-libs/cqrlib/files/1.0.3-LDFLAGS.patch17
-rw-r--r--sci-libs/cqrlib/metadata.xml8
5 files changed, 100 insertions, 0 deletions
diff --git a/sci-libs/cqrlib/ChangeLog b/sci-libs/cqrlib/ChangeLog
new file mode 100644
index 000000000000..223e1e5a192a
--- /dev/null
+++ b/sci-libs/cqrlib/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sci-libs/cqrlib
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cqrlib/ChangeLog,v 1.1 2010/02/03 22:12:21 jlec Exp $
+
+*cqrlib-1.0.3 (03 Feb 2010)
+
+ 03 Feb 2010; Justin Lecher (jlec) <jlec@gentoo.org>
+ +files/1.0.3-LDFLAGS.patch, +cqrlib-1.0.3.ebuild, +metadata.xml:
+ An ANSI C implementation of a utility library for quaternion arithmetic
+ and quaternion rotation math
+
diff --git a/sci-libs/cqrlib/Manifest b/sci-libs/cqrlib/Manifest
new file mode 100644
index 000000000000..8adbdcc8bfaf
--- /dev/null
+++ b/sci-libs/cqrlib/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX 1.0.3-LDFLAGS.patch 1154 RMD160 9018a66502de06afb01750b923acedab8ec478f1 SHA1 960dc8cc81e7083f286dd86123266c329498197c SHA256 163ff3e44dcc747e718f8e53473e97302faae3c08d839c9fff0e02f5b9531497
+DIST CQRlib-1.0.3.tar.gz 31940 RMD160 b3ca3ea9d454098f666a9657f848d8176a71f3cf SHA1 4f9669a5db8da569937c440082647158bacced61 SHA256 e4b2323c8f27e3b625c79d5363176e9e6d7e4f90bac3895822b956bf8433fa45
+EBUILD cqrlib-1.0.3.ebuild 995 RMD160 6394d4566b440b93c1ba04ac698366b3dcf511aa SHA1 0a0cf9419e6cbaf7ef57673de4d519540870927a SHA256 7019643d70c759be3df28443d760ecc55b082cc28025870e6dfbde853b8207f2
+MISC ChangeLog 457 RMD160 408f41af90a67e97c7b16ad6d021dc3fd4cf9179 SHA1 89e7922f26b35debbaa8eb06726bca380de615ab SHA256 7be7840b04aa98a50ef3a67d203967c247e3df5cc2cf599dbf60d8e98bd81948
+MISC metadata.xml 215 RMD160 bc9c07aa91f2f175542244e4e4522a73558210a1 SHA1 facb283386de1c0b6b938cdcd4dde04d1694298b SHA256 13f32353652adbd3d934d41381cfc2cacc9e1127c508cebc73806cc1026ee80c
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.14 (GNU/Linux)
+
+iEYEARECAAYFAktp9MsACgkQgAnW8HDreRbDRACcCHcG0SF7NtD2gYRprnc/8mEZ
+pP0An1UE6dP8Ir7LPktTDvbG11jFPfqH
+=oXVu
+-----END PGP SIGNATURE-----
diff --git a/sci-libs/cqrlib/cqrlib-1.0.3.ebuild b/sci-libs/cqrlib/cqrlib-1.0.3.ebuild
new file mode 100644
index 000000000000..5806c662e947
--- /dev/null
+++ b/sci-libs/cqrlib/cqrlib-1.0.3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cqrlib/cqrlib-1.0.3.ebuild,v 1.1 2010/02/03 22:12:21 jlec Exp $
+
+inherit base flag-o-matic toolchain-funcs
+
+MY_PN=CQRlib
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="An ANSI C implementation of a utility library for quaternion arithmetic and quaternion rotation math"
+HOMEPAGE="http://cqrlib.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-libs/cvector"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"/${MY_P}
+
+PATCHES=(
+ "${FILESDIR}"/${PV}-LDFLAGS.patch
+ )
+
+src_compile() {
+ append-flags -ansi
+ emake \
+ CC=$(tc-getCC) \
+ CXX=$(tc-getCXX) \
+ CFLAGS="${CFLAGS}" \
+ all || die
+}
+
+src_test() {
+ emake tests || die
+}
+
+src_install() {
+ dobin bin/* || die
+ dolib.a lib/.libs/*.a || die
+
+ insinto /usr/include
+ doins *.h || die
+
+ dodoc README_CQRlib.txt || die
+}
diff --git a/sci-libs/cqrlib/files/1.0.3-LDFLAGS.patch b/sci-libs/cqrlib/files/1.0.3-LDFLAGS.patch
new file mode 100644
index 000000000000..491eb9179aec
--- /dev/null
+++ b/sci-libs/cqrlib/files/1.0.3-LDFLAGS.patch
@@ -0,0 +1,17 @@
+--- Makefile 2009-07-08 18:12:50.000000000 +0200
++++ Makefile.new 2009-07-25 13:18:36.000000000 +0200
+@@ -86,10 +86,10 @@
+ endif
+
+ COMPILE_COMMAND = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(INCLUDES) $(WARNINGS) -c
+-LIBRARY_LINK_COMMAND = $(LIBTOOL) --mode=link $(CC) -version-info $(VERSION) -release $(RELEASE) -rpath $(INSTALLDIR)/lib
+-BUILD_COMMAND_LOCAL = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(INCLUDES)
+-BUILD_COMMAND_DYNAMIC = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -dynamic -I $(INSTALLDIR)/include -L$(INSTALLDIR)/lib
+-BUILD_COMMAND_STATIC = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -static -I $(INSTALLDIR)/include -L$(INSTALLDIR)/lib
++LIBRARY_LINK_COMMAND = $(LIBTOOL) --mode=link $(CC) -version-info $(VERSION) -release $(RELEASE) $(LDFLAGS)
++BUILD_COMMAND_LOCAL = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) $(INCLUDES)
++BUILD_COMMAND_DYNAMIC = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -dynamic
++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/sci-libs/cqrlib/metadata.xml b/sci-libs/cqrlib/metadata.xml
new file mode 100644
index 000000000000..efb490d78817
--- /dev/null
+++ b/sci-libs/cqrlib/metadata.xml
@@ -0,0 +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>
+</pkgmetadata>