diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/tvmet |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/tvmet')
-rw-r--r-- | dev-libs/tvmet/Manifest | 6 | ||||
-rw-r--r-- | dev-libs/tvmet/files/tvmet-1.7.2-respect-cxxflags.patch | 42 | ||||
-rw-r--r-- | dev-libs/tvmet/metadata.xml | 11 | ||||
-rw-r--r-- | dev-libs/tvmet/tvmet-1.7.2-r2.ebuild | 52 |
4 files changed, 111 insertions, 0 deletions
diff --git a/dev-libs/tvmet/Manifest b/dev-libs/tvmet/Manifest new file mode 100644 index 000000000000..d0b3e04498df --- /dev/null +++ b/dev-libs/tvmet/Manifest @@ -0,0 +1,6 @@ +AUX tvmet-1.7.2-respect-cxxflags.patch 1112 SHA256 311aa4f05ed2f4198dc607a184dd25297da9b765a4cbe802376b8a9588d0ba19 SHA512 3ef1ee581d4aec3398c1013b0f10d41d7afe31892996456788e352af8b058d524e4c2126b4e496c7104f971c0f88943b3a4d136ae9efbe57ea19e51832d00ea9 WHIRLPOOL d540ed9a603cd462a597892743e83df1c2fda32f52c5c3490fbf213d86a2ba68950e825917a4bdec61c5e6faae14021961d2e554e6ace20c45e776bc47d309e3 +DIST tvmet-1.7.2.tar.bz2 532599 SHA256 ca4a1e72afb70ca34bbd7cb0500a159003f5c270903f1b303af48a883dbe13ae SHA512 0e57d2ec68566d02c09c3d8b35662b3737e6f074271e5e90c1354956636d2ada74859bb867d63684edaa93d7ab6a470a3141d02a04164101ff9d8d14f3d6c5fb WHIRLPOOL 049901010e48647278c73e315eda041f3f51c4a0933128d8bc24cbd8cbbdc0d166502a2d192f6d47df9f20fe33b32a78f6c02b2cd72897822d88dbae0bbb3c44 +EBUILD tvmet-1.7.2-r2.ebuild 1122 SHA256 46baaa14b6b9d0168dc748a6b622fd32e65e04fbe6fa65a65276d9223e7aba45 SHA512 b61e94ae46ff5e72a849eac0649b0329669d9518f28063e364c97235eb3dc30a9a0ca79f1a7b240b99125389dbbbbe28fc0f6980319d976feac7830c477f0447 WHIRLPOOL 1200e1a936ba3b949d577e00a5b2f51d146d81c199b7c7946008708e29683897e2f486efe548b33ed3d0fe2bdd4e2356f888accf76fa877d4c329c6eb04fff87 +MISC ChangeLog 2732 SHA256 3898ee000b49da6df32feca2853827d2324eef80b696517a93eb6c803ff9f710 SHA512 8258162c48305725f1a43055ccea21505c983750b240087e320673bf132fa9eb1eeb1662e593231bc5cd0d2ef67068f1bfc225d5c8948fa145a8e9a079fca058 WHIRLPOOL 00873b9ef2471b7946a083b163a5d07e41947ab7e3041c42cb74136f5ad1f5e48c9263a51850c4aea647e25a9d9c181799a4f2f2abcab6a09a3121b3a9103146 +MISC ChangeLog-2015 1669 SHA256 1e647de45ddf449a850f75154f0a23f5933c431ebc003d843ff0da57ec025e35 SHA512 473f22a8c4d669d014abaa55c39b2c68ec1e242c33b266bf50f5e5ec040c332223da39715d5a897760127e231c945e06c0d6db5caaf48bb116f8aa74ab43092e WHIRLPOOL bee3e24f96f9a2f70d4eb46cb96cd205992d10d9989d46fad0166e23f6cf608a38443a4b02f57fc47a08558801b4136da71e9b66628313fd6653d44aad38cabd +MISC metadata.xml 324 SHA256 fed1cb3aa55fef310256a67012cb851eaaba61c6a71bdb4035112bf67c2ec70b SHA512 357ea263eeaf4fba7be7cab1ee10cbe5ecb6b4c0e23eb6e62c39a9ff2f4ca0712a22818a958b4f39b7bd29d1ea8d1600d4043774763c7d3a0e5b9ca5278392d9 WHIRLPOOL cbee7830daa5b8e1e115e518f69af497384dcf0210318d21f8e1239dbd4ede500c71ad92e9a47370ddd6217001e73dfc080eddaadab2136f307eb9cdd1724399 diff --git a/dev-libs/tvmet/files/tvmet-1.7.2-respect-cxxflags.patch b/dev-libs/tvmet/files/tvmet-1.7.2-respect-cxxflags.patch new file mode 100644 index 000000000000..2749c9131349 --- /dev/null +++ b/dev-libs/tvmet/files/tvmet-1.7.2-respect-cxxflags.patch @@ -0,0 +1,42 @@ +diff -ur tvmet-1.7.2-orig/configure tvmet-1.7.2/configure +--- tvmet-1.7.2-orig/configure 2009-04-19 16:27:20.000000000 -0400 ++++ tvmet-1.7.2/configure 2009-04-19 16:48:52.000000000 -0400 +@@ -2659,11 +2659,9 @@ + ;; + *:*) # Simple initialization syntax + CXX=`echo "$cxxwith" | sed -n -e 's/.*:\(.*\)/\1/p'` +- CXXFLAGS="" + ;; + *) # Default values + CXX="g++" +- CXXFLAGS="" + ;; + esac + CXX_OPTIMIZE_FLAGS="-DTVMET_OPTIMIZE -O2 -finline-limit=5000 -ftemplate-depth-200 -fomit-frame-pointer" +@@ -3704,7 +3702,6 @@ + echo "$as_me: failed program was:" >&5 + sed 's/^/| /' conftest.$ac_ext >&5 + +- CXXFLAGS="" + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF +@@ -3799,15 +3796,9 @@ + CXXFLAGS=$ac_save_CXXFLAGS + elif test $ac_cv_prog_cxx_g = yes; then + if test "$GXX" = yes; then +- CXXFLAGS="-g -O2" ++ CXXFLAGS+="$CXXFLAGS -g -O2" + else +- CXXFLAGS="-g" +- fi +-else +- if test "$GXX" = yes; then +- CXXFLAGS="-O2" +- else +- CXXFLAGS= ++ CXXFLAGS+="$CXXFLAGS -g" + fi + fi + ac_ext=cpp + diff --git a/dev-libs/tvmet/metadata.xml b/dev-libs/tvmet/metadata.xml new file mode 100644 index 000000000000..5c58b2ad9f4e --- /dev/null +++ b/dev-libs/tvmet/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>cpp@gentoo.org</email> + <name>Gentoo C++ Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">tvmet</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-libs/tvmet/tvmet-1.7.2-r2.ebuild b/dev-libs/tvmet/tvmet-1.7.2-r2.ebuild new file mode 100644 index 000000000000..a4eb9e36ebe7 --- /dev/null +++ b/dev-libs/tvmet/tvmet-1.7.2-r2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils + +DESCRIPTION="Tiny Vector Matrix library using Expression Templates" +HOMEPAGE="http://tvmet.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="debug doc test" + +DEPEND="doc? ( app-doc/doxygen ) + test? ( dev-util/cppunit )" +RDEPEND="" + +src_prepare() { + epatch "${FILESDIR}/${P}-respect-cxxflags.patch" + + sed -i \ + -e 's|^GENERATE_LATEX.*|GENERATE_LATEX = NO|' \ + doc/Doxyfile.in || die "sed failed" + + # Doc installation is broken with newer Doxygen and autoconf <=2.61 + # and we can't rerun autoconf without requiring cppunit unconditionally + sed -i \ + -e '/^SUBDIRS/ s|doc ||' \ + Makefile.in || die "sed failed" +} + +src_configure() { + econf \ + $(use_enable debug) \ + $(use_enable doc docs) \ + $(use_enable test cppunit) +} + +src_compile() { + default + if use doc ; then + cd doc + doxygen Doxyfile || die "doxygen failed" + fi +} + +src_install() { + default + use doc && dohtml -r doc/html/* +} |