diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2008-03-23 12:09:46 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2008-03-23 12:09:46 +0000 |
commit | 6eb04eb49114e5a8930224a39cde0c231a859d67 (patch) | |
tree | 3d17815c0cac5e1c555dc5ac517d0db2904d0129 /dev-libs | |
parent | fix depend.apache usage wrt #208033 (diff) | |
download | gentoo-2-6eb04eb49114e5a8930224a39cde0c231a859d67.tar.gz gentoo-2-6eb04eb49114e5a8930224a39cde0c231a859d67.tar.bz2 gentoo-2-6eb04eb49114e5a8930224a39cde0c231a859d67.zip |
Initial commit, ebuild written by me.
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/tvmet/ChangeLog | 11 | ||||
-rw-r--r-- | dev-libs/tvmet/Manifest | 5 | ||||
-rw-r--r-- | dev-libs/tvmet/files/1.7.2-docs_missing_destdir.patch | 29 | ||||
-rw-r--r-- | dev-libs/tvmet/metadata.xml | 5 | ||||
-rw-r--r-- | dev-libs/tvmet/tvmet-1.7.2.ebuild | 43 |
5 files changed, 93 insertions, 0 deletions
diff --git a/dev-libs/tvmet/ChangeLog b/dev-libs/tvmet/ChangeLog new file mode 100644 index 000000000000..9c6d53f06b74 --- /dev/null +++ b/dev-libs/tvmet/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-libs/tvmet +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/tvmet/ChangeLog,v 1.1 2008/03/23 12:09:45 dev-zero Exp $ + +*tvmet-1.7.2 (23 Mar 2008) + + 23 Mar 2008; Tiziano Müller <dev-zero@gentoo.org> + +files/1.7.2-docs_missing_destdir.patch, +metadata.xml, + +tvmet-1.7.2.ebuild: + Initial commit, ebuild written by me. + diff --git a/dev-libs/tvmet/Manifest b/dev-libs/tvmet/Manifest new file mode 100644 index 000000000000..d31c384c4da0 --- /dev/null +++ b/dev-libs/tvmet/Manifest @@ -0,0 +1,5 @@ +AUX 1.7.2-docs_missing_destdir.patch 1057 RMD160 4a47d459f436bfbefb80a49dc9ee1740da3f60d8 SHA1 db12f0b0f18dc63a2bdc9e7f03ad89b596cc43d9 SHA256 218d7359cd440ff81d2252f921340b4dffca8eba29a36edaca481041f8967271 +DIST tvmet-1.7.2.tar.bz2 532599 RMD160 f777cfe42e221d3cb09172dfb4de67b360cb0acd SHA1 aea83958968cce70e9b9cd9ed34b83019be8f619 SHA256 ca4a1e72afb70ca34bbd7cb0500a159003f5c270903f1b303af48a883dbe13ae +EBUILD tvmet-1.7.2.ebuild 940 RMD160 88d4a5432ea39fb9ca2a3789ad57f2cd0a08653c SHA1 b2d339e614c1185dba08e6c96c08ebe1e420feb9 SHA256 d6bb1f3b101a8828a5df8c2b836fd1a569492e7c6844a43db4bcc1e3db7d15a4 +MISC ChangeLog 318 RMD160 973e7ab63f481398ab1353bd7d1843209cd35a43 SHA1 541383874143f14d11e1c20efbb5e14b0aca6a57 SHA256 5207d04c947876c8891da59645cfca6e6447f4974d7525033f521cb2c03c92c5 +MISC metadata.xml 157 RMD160 1a16d7c8813911ff609857e1d437b678c924114c SHA1 c82a897a9ef30c4e459bcb4ce934e0a966c11d4d SHA256 e44459c87638f81370c6caee91f75bf864c56875d2b17f69ec7473c81ff58f9f diff --git a/dev-libs/tvmet/files/1.7.2-docs_missing_destdir.patch b/dev-libs/tvmet/files/1.7.2-docs_missing_destdir.patch new file mode 100644 index 000000000000..34e057b2a900 --- /dev/null +++ b/dev-libs/tvmet/files/1.7.2-docs_missing_destdir.patch @@ -0,0 +1,29 @@ +--- doc/Makefile.am.orig 2008-03-17 14:42:52.000000000 +0100 ++++ doc/Makefile.am 2008-03-17 14:44:14.000000000 +0100 +@@ -186,20 +186,20 @@ + # Automake's "distcheck" is sensitive to having files left over + # after "make uninstall", so we have to clean up the install hook. + uninstall-local: +- @if test -d $(TVMET_DOC_DIR); then \ +- rm -rf $(TVMET_DOC_DIR); \ ++ @if test -d $(DESTDIR)/$(TVMET_DOC_DIR)/html; then \ ++ rm -rf $(DESTDIR)/$(TVMET_DOC_DIR)/html; \ + fi + + # Install hooks + make-install-dirs: +- @if test '!' -d $(TVMET_DOC_DIR); then \ +- $(mkinstalldirs) $(TVMET_DOC_DIR); \ ++ @if test '!' -d $(DESTDIR)/$(TVMET_DOC_DIR)/html; then \ ++ $(mkinstalldirs) $(DESTDIR)/$(TVMET_DOC_DIR)/html; \ + fi + + install-data-hook: make-install-dirs +- @echo Installing documentations into $(TVMET_DOC_DIR) ++ @echo Installing documentations into $(DESTDIR)/$(TVMET_DOC_DIR)/html + @echo "install html" +- @$(INSTALL_DATA) @top_builddir@/doc/html/* $(TVMET_DOC_DIR) ++ @$(INSTALL_DATA) @top_builddir@/doc/html/* $(DESTDIR)/$(TVMET_DOC_DIR)/html + + else + doc-dist: diff --git a/dev-libs/tvmet/metadata.xml b/dev-libs/tvmet/metadata.xml new file mode 100644 index 000000000000..bc97bb6ee207 --- /dev/null +++ b/dev-libs/tvmet/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>cpp</herd> +</pkgmetadata> diff --git a/dev-libs/tvmet/tvmet-1.7.2.ebuild b/dev-libs/tvmet/tvmet-1.7.2.ebuild new file mode 100644 index 000000000000..0d0b957ab88f --- /dev/null +++ b/dev-libs/tvmet/tvmet-1.7.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/tvmet/tvmet-1.7.2.ebuild,v 1.1 2008/03/23 12:09:45 dev-zero Exp $ + +inherit autotools 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" +IUSE="debug doc test" + +DEPEND="doc? ( app-doc/doxygen )" +RDEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${PV}-docs_missing_destdir.patch" + + sed -i \ + -e 's|^GENERATE_LATEX.*|GENERATE_LATEX = NO|' \ + doc/Doxyfile.in || die "sed failed" + + AT_M4DIR="config" eautoreconf +} + +src_compile() { + econf \ + $(use_enable debug) \ + $(use_enable doc docs) \ + $(use_enable test cppunit) \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog NEWS README THANKS +} |