diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-05-25 09:26:44 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-05-25 09:26:44 +0000 |
commit | 37c0e1473b4c0d0d0db028676465f0d0c87d3e78 (patch) | |
tree | 1a2416e9df4070ee6c79ae5349de698bd839405d /sci-libs | |
parent | x86 stable wrt bug #320503 (diff) | |
download | historical-37c0e1473b4c0d0d0db028676465f0d0c87d3e78.tar.gz historical-37c0e1473b4c0d0d0db028676465f0d0c87d3e78.tar.bz2 historical-37c0e1473b4c0d0d0db028676465f0d0c87d3e78.zip |
Version Bump
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/cqrlib/ChangeLog | 8 | ||||
-rw-r--r-- | sci-libs/cqrlib/Manifest | 11 | ||||
-rw-r--r-- | sci-libs/cqrlib/cqrlib-1.0.5.ebuild | 53 | ||||
-rw-r--r-- | sci-libs/cqrlib/files/1.0.5-gentoo.patch | 91 |
4 files changed, 158 insertions, 5 deletions
diff --git a/sci-libs/cqrlib/ChangeLog b/sci-libs/cqrlib/ChangeLog index 2ff6d1bd67ed..f91f942312e2 100644 --- a/sci-libs/cqrlib/ChangeLog +++ b/sci-libs/cqrlib/ChangeLog @@ -1,6 +1,12 @@ # 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.3 2010/03/07 18:49:41 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/cqrlib/ChangeLog,v 1.4 2010/05/25 09:26:44 jlec Exp $ + +*cqrlib-1.0.5 (25 May 2010) + + 25 May 2010; Justin Lecher <jlec@gentoo.org> +files/1.0.5-gentoo.patch, + +cqrlib-1.0.5.ebuild: + Version Bump 07 Mar 2010; Justin Lecher (jlec) <jlec@gentoo.org> cqrlib-1.0.3-r1.ebuild: diff --git a/sci-libs/cqrlib/Manifest b/sci-libs/cqrlib/Manifest index a17299676ddc..a1bd3f142fb7 100644 --- a/sci-libs/cqrlib/Manifest +++ b/sci-libs/cqrlib/Manifest @@ -3,14 +3,17 @@ Hash: SHA1 AUX 1.0.3-LDFLAGS.patch 1154 RMD160 9018a66502de06afb01750b923acedab8ec478f1 SHA1 960dc8cc81e7083f286dd86123266c329498197c SHA256 163ff3e44dcc747e718f8e53473e97302faae3c08d839c9fff0e02f5b9531497 AUX 1.0.3-dynlib.patch 1848 RMD160 2bcbb56311e61e8ded8d9fa364b21375cb34fe67 SHA1 887fc9dbe87f69be60e69a30bc84b18cf4d59dc3 SHA256 a42f44eb3c6f6bb9e729eac2f14f7ef9728f520d3fec082e79b460e375e99073 +AUX 1.0.5-gentoo.patch 3842 RMD160 5c5b319f853c0e6eb9d183c10b64efbec3d1bdb5 SHA1 87b9a7ab96dbcb0c221116c86e43262e99ac1ac4 SHA256 2bb2f26b947294a245125297d2b2d1b5f124c736e280c0e74727096e93eddc4d DIST CQRlib-1.0.3.tar.gz 31940 RMD160 b3ca3ea9d454098f666a9657f848d8176a71f3cf SHA1 4f9669a5db8da569937c440082647158bacced61 SHA256 e4b2323c8f27e3b625c79d5363176e9e6d7e4f90bac3895822b956bf8433fa45 +DIST CQRlib-1.0.5.tar.gz 35878 RMD160 692dafc8cd93530e650063ee41417be22fb73ccd SHA1 6baacef325fe610906d6629f3470103fe3a4f330 SHA256 08b8cf8c2fbd5d9ca4655936b3bec087414314c0103b9a7f83cf2767ab168350 EBUILD cqrlib-1.0.3-r1.ebuild 1274 RMD160 20cd318194e9a4f9ff152444b8b95b4f560dedc5 SHA1 311a368b7f835be7ee6e5a50111adce9771bdabc SHA256 ba873433436767ab606bf390c2e5e8adb710e5ce30c56d08b3b5021cf0ecd450 -MISC ChangeLog 768 RMD160 74aa7baf66891e5dd5bc3df41ebd92d9d52e3dca SHA1 fc4b31da508d0a980c1884f3a059d5af07c5b120 SHA256 d23bc95d99c7b89269c581945590dc4fe6e76115c9d7a006a9938f94021a07fc +EBUILD cqrlib-1.0.5.ebuild 1154 RMD160 f4aec96a5f5f427aa8487cbce7364a04d3e0c611 SHA1 74be642405f891de3d0013c8b3a0715f738829ba SHA256 2d4b44865aba30f239601e54fb5c515fdb96b98d2c69dd3673ae78ec9730a417 +MISC ChangeLog 911 RMD160 2f0fb4e8487e974311d0f557b9d908a3e379ef9a SHA1 8a4cf97e2a47061ba0f7d15c7f0959ab735c83de SHA256 d32ba7ac3dcb8da91c7f1c939ce7f896cd8431cb85702c215ab9200da2491de6 MISC metadata.xml 215 RMD160 bc9c07aa91f2f175542244e4e4522a73558210a1 SHA1 facb283386de1c0b6b938cdcd4dde04d1694298b SHA256 13f32353652adbd3d934d41381cfc2cacc9e1127c508cebc73806cc1026ee80c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) -iEYEARECAAYFAkuT9UsACgkQgAnW8HDreRZGHACePTo85uo5SNkF5NqmQgGU7OYZ -q9QAnjdYLbbL4tnWvi4yGTu5QoqhmEaA -=Qi66 +iEYEARECAAYFAkv7l9oACgkQgAnW8HDreRadkgCeJacoUKgX6BZZCk3oqq6Ug/rK ++WMAn3AaSWaHdxK324Kg/kMurmOXDIgy +=/iDh -----END PGP SIGNATURE----- diff --git a/sci-libs/cqrlib/cqrlib-1.0.5.ebuild b/sci-libs/cqrlib/cqrlib-1.0.5.ebuild new file mode 100644 index 000000000000..d20de4aedaee --- /dev/null +++ b/sci-libs/cqrlib/cqrlib-1.0.5.ebuild @@ -0,0 +1,53 @@ +# 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.5.ebuild,v 1.1 2010/05/25 09:26:44 jlec Exp $ + +EAPI="3" + +inherit base flag-o-matic multilib toolchain-funcs versionator + +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}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND="dev-libs/cvector" +DEPEND="${RDEPEND}" + +S="${WORKDIR}"/${MY_P} + +PATCHES=( + "${FILESDIR}"/${PV}-gentoo.patch + ) + +src_compile() { + sed "s:GENTOOLIBDIR:$(get_libdir):g" -i Makefile || die + append-flags -ansi + emake \ + CC=$(tc-getCC) \ + CXX=$(tc-getCXX) \ + CFLAGS="${CFLAGS}" \ + all || die +} + +src_test() { + emake -j1 \ + CC=$(tc-getCC) \ + CXX=$(tc-getCXX) \ + CFLAGS="${CFLAGS}" \ + tests || die +} + +src_install() { + emake -j1 DESTDIR="${ED}" install || die + + dodoc README_CQRlib.txt || die + dohtml README_CQRlib.html || die +} diff --git a/sci-libs/cqrlib/files/1.0.5-gentoo.patch b/sci-libs/cqrlib/files/1.0.5-gentoo.patch new file mode 100644 index 000000000000..a5e7772e91ba --- /dev/null +++ b/sci-libs/cqrlib/files/1.0.5-gentoo.patch @@ -0,0 +1,91 @@ +diff --git a/Makefile b/Makefile +index ffd3114..cd9891d 100644 +--- a/Makefile ++++ b/Makefile +@@ -88,7 +88,7 @@ INCLUDES = -I$(INC) + endif + + COMPILE_COMMAND = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(INCLUDES) $(WARNINGS) -c +-LIBRARY_LINK_COMMAND = $(LIBTOOL) --mode=link $(CC) -version-info $(VERSION) -rpath $(INSTALLDIR)/lib ++LIBRARY_LINK_COMMAND = $(LIBTOOL) --mode=link $(CC) -shared -version-info $(VERSION) -rpath $(INSTALLDIR)/lib ${LDFLAGS} + 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 +@@ -194,54 +194,31 @@ default: + # + all: $(LIB) $(BIN) $(SOURCE) $(HEADERS) \ + $(LIB)/libCQRlib.$(LIB_EXT) \ +- $(BIN)/CQRlibTest $(BIN)/CPPQRTest + +-install: all $(INSTALLDIR) $(INSTALLDIR)/lib $(INSTALLDIR)/include \ ++install: all $(DESTDIR) $(DESTDIR)/GENTOOLIBDIR $(DESTDIR)/include \ + $(INC) $(LIB)/libCQRlib.$(LIB_EXT) $(INC)/cqrlib.h +- $(INSTALL_COMMAND) $(LIB)/libCQRlib.$(LIB_EXT) $(INSTALLDIR)/lib/libCQRlib.$(LIB_EXT) +- $(INSTALL_FINISH_COMMAND) $(INSTALLDIR)/lib/libCQRlib.$(LIB_EXT) +- -cp $(INSTALLDIR)/include/cqrlib.h $(INSTALLDIR)/include/CQRlib_old.h +- cp $(INC)/cqrlib.h $(INSTALLDIR)/include/cqrlib.h +- chmod 644 $(INSTALLDIR)/include/cqrlib.h +- echo "Testing final install dynamic" +- $(BUILD_COMMAND_DYNAMIC) $(EXAMPLES)/CQRlibTest.c \ +- -lCQRlib -lm -o $(BIN)/CQRlibTest_dynamic +- $(BIN)/CQRlibTest_dynamic > $(TESTDATA)/CQRlibTest_dynamic.lst +- diff -b -c $(TESTDATA)/CQRlibTest_orig.lst \ +- $(TESTDATA)/CQRlibTest_dynamic.lst +- echo "Testing final install static" +- $(BUILD_COMMAND_STATIC) $(EXAMPLES)/CQRlibTest.c \ +- -lCQRlib -lm -o $(BIN)/CQRlibTest_static +- $(BIN)/CQRlibTest_static > $(TESTDATA)/CQRlibTest_static.lst +- diff -b -c $(TESTDATA)/CQRlibTest_orig.lst \ +- $(TESTDATA)/CQRlibTest_static.lst +- $(CPPBUILD_COMMAND_DYNAMIC) $(EXAMPLES)/CPPQRTest.cpp \ +- -lm -o $(BIN)/CPPQRTest_dynamic +- $(BIN)/CPPQRTest_dynamic > $(TESTDATA)/CPPQRTest_dynamic.lst +- diff -b -c $(TESTDATA)/CPPQRTest_orig.lst \ +- $(TESTDATA)/CPPQRTest_dynamic.lst +- $(CPPBUILD_COMMAND_STATIC) $(EXAMPLES)/CPPQRTest.cpp \ +- -lm -o $(BIN)/CPPQRTest_static +- $(BIN)/CPPQRTest_static > $(TESTDATA)/CPPQRTest_static.lst +- diff -b -c $(TESTDATA)/CPPQRTest_orig.lst \ +- $(TESTDATA)/CPPQRTest_static.lst ++ $(INSTALL_COMMAND) $(LIB)/libCQRlib.$(LIB_EXT) $(DESTDIR)/usr/GENTOOLIBDIR/libCQRlib.$(LIB_EXT) ++ $(INSTALL_FINISH_COMMAND) $(DESTDIR)/usr/GENTOOLIBDIR/libCQRlib.$(LIB_EXT) ++ -cp $(INSTALLDIR)/cqrlib.h $(DESTDIR)/usr/include/CQRlib.h ++ cp $(INC)/cqrlib.h $(DESTDIR)/usr/include/cqrlib.h ++ chmod 644 $(DESTDIR)/usr/include/cqrlib.h + + + + # + # Directories + # +-$(INSTALLDIR): +- mkdir -p $(INSTALLDIR) ++$(DESTDIR): ++ mkdir -p $(DESTDIR) + +-$(INSTALLDIR)/lib: $(INSTALLDIR) +- mkdir -p $(INSTALLDIR)/lib ++$(DESTDIR)/GENTOOLIBDIR: $(DESTDIR) ++ mkdir -p $(DESTDIR)/usr/GENTOOLIBDIR + +-$(INSTALLDIR)/bin: $(INSTALLDIR) +- mkdir -p $(INSTALLDIR)/bin ++$(DESTDIR)/bin: $(DESTDIR) ++ mkdir -p $(DESTDIR)/usr/bin + +-$(INSTALLDIR)/include: $(INSTALLDIR) +- mkdir -p $(INSTALLDIR)/include ++$(DESTDIR)/include: $(DESTDIR) ++ mkdir -p $(DESTDIR)/usr/include + + + $(LIB): +@@ -274,7 +251,7 @@ $(BIN)/CPPQRTest: $(EXAMPLES)/CPPQRTest.cpp + # + # Tests + # +-tests: $(LIB) $(BIN) $(BIN)/CQRlibTest \ ++tests: $(LIB) $(BIN) $(BIN)/CQRlibTest $(BIN)/CPPQRTest \ + all $(TESTDATA)/CQRlibTest_orig.lst $(TESTDATA)/CPPQRTest_orig.lst + $(BIN)/CQRlibTest > $(TESTDATA)/CQRlibTest.lst + diff -b -c $(TESTDATA)/CQRlibTest_orig.lst \ |