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 | 64013bcea802cad84937650c0384b59003060dd1 (patch) | |
tree | bb39793b67f31484ee79fe7c9b6d0af803c03f61 /dev-libs/tvmet | |
parent | fix depend.apache usage wrt #208033 (diff) | |
download | historical-64013bcea802cad84937650c0384b59003060dd1.tar.gz historical-64013bcea802cad84937650c0384b59003060dd1.tar.bz2 historical-64013bcea802cad84937650c0384b59003060dd1.zip |
Initial commit, ebuild written by me.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'dev-libs/tvmet')
-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..a07610e11959 --- /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 1037 RMD160 ba4a577fea46cdfcc673112b7a600df9a7892f70 SHA1 0496331096b4dd55ec2c911d7f266102e4e1ffa0 SHA256 810326e8c410526ed287a682b857f2db7f7c55517736a51a6481fad9adee1543 +MISC ChangeLog 406 RMD160 ae4d5ca1f93beeb7e6f8306ffe857341e7e0c4b5 SHA1 bbb023202ab1e85827aa3b41b2bfae8d2a479350 SHA256 8485de0d3278a881595edcf52a9ad44eacd631a9900233934a549a127a650efe +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 +} |